• Articles
  • Api Documentation
Show / Hide Table of Contents
  • AlchemyBow.Navigation
    • AlchemyNavigationSystem
    • BasicAgent
    • FacesHolder
    • NavigationAct
    • NavigationFaceWrapper
    • NavigationInfo
    • PathfindingRequest
    • PathfindingRequest.PathType
    • PathfindingRequest.Status
  • AlchemyBow.Navigation.BackgroundProcessing
    • BackgroundProcessor
    • BackgroundProcessor.States
    • BuildingProcess
    • IBackgroundCommand
    • PathfindingProcess
    • RegisterFaceCommand
    • UnregisterFaceCommand
  • AlchemyBow.Navigation.Collections
    • OrderedSet<T>
    • OrderedSetNode<T>
    • OrderedSetRangeComparer<T>
  • AlchemyBow.Navigation.DebugUnits
    • AlchemyNavigationSystemDebugUnit
    • CompositeSurfaceDrawer
    • GizmosSurfaceDrawer
    • ISurfaceDrawer
    • MinimalGizmosSurfaceDrawer
  • AlchemyBow.Navigation.HighLevel
    • MeshBasedBake
    • MeshBasedBakeGroup
    • MeshBasedBakeSettings
    • WorldMesh
  • AlchemyBow.Navigation.PropertyAttributes
    • AreaIndexAttribute
    • AreaMaskAttribute
    • LayerIndexAttribute
  • AlchemyBow.Navigation.Settings
    • AlchemyNavigationSettingsPreset
    • NavigationAreaSettings
    • NavigationLayerSettings
    • NavigationSettings
  • AlchemyBow.Navigation.Simple
    • SimpleAgent
  • AlchemyBow.Navigation.Simple.Elements
    • AvoidanceGroup
    • AvoidanceModifier
    • CachedFace
    • ISteeredBehaviour
    • MovementModifier
    • PathProgress
  • AlchemyBow.Navigation.Surfaces
    • Edge
    • Face
    • FacesByMagnitudeRangeComparer
    • NavigationSurface
    • SurfaceRaycastHit
    • Usage<TUser>
    • UsageTrackingObject<TUser>
    • Vertex
    • VertexByPositionComparer
  • AlchemyBow.Navigation.Surfaces.SafeAccess
    • IImmutableFace
    • SurfaceImmutableRaycastHit
  • AlchemyBow.Navigation.Utilities
    • ChannelUnwrapper
    • FaceAStar
    • FaceStarUnit
    • Funnel
    • ICommand

Class FacesHolder

A high level component that allows you to create predefined elements of navigation mesh, edit them and move them around the scene in both edit and play mode.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FacesHolder
Namespace: AlchemyBow.Navigation
Assembly: AlchemyBow.Navigation.dll
Syntax
[ExecuteInEditMode]
[DisallowMultipleComponent]
public sealed class FacesHolder : MonoBehaviour
Remarks

This class is not fully finished and will be optimized.

Properties

| Improve this Doc View Source

AreaIndex

Gets or sets an area index of the faces.

Declaration
public int AreaIndex { get; set; }
Property Value
Type Description
System.Int32
Remarks

If set value is different ReregisterInSystem() is called.

| Improve this Doc View Source

FacesCount

Declaration
public int FacesCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LayerIndex

Gets or sets a layer index of the faces.

Declaration
public int LayerIndex { get; set; }
Property Value
Type Description
System.Int32
Remarks

If set value is different ReregisterInSystem() is called.

| Improve this Doc View Source

NodesCount

Declaration
public int NodesCount { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

AddFace(Vector3, Vector3, Vector3)

Declaration
public void AddFace(Vector3 worldPositionA, Vector3 worldPositionB, Vector3 worldPositionC)
Parameters
Type Name Description
UnityEngine.Vector3 worldPositionA
UnityEngine.Vector3 worldPositionB
UnityEngine.Vector3 worldPositionC
| Improve this Doc View Source

GetAllLocalNodes()

Declaration
public Vector3[] GetAllLocalNodes()
Returns
Type Description
UnityEngine.Vector3[]
| Improve this Doc View Source

GetAllLocalNodesNoAlloc(Vector3[])

Declaration
public void GetAllLocalNodesNoAlloc(Vector3[] nodes)
Parameters
Type Name Description
UnityEngine.Vector3[] nodes
| Improve this Doc View Source

GetAllWorldNodes()

Declaration
public Vector3[] GetAllWorldNodes()
Returns
Type Description
UnityEngine.Vector3[]
| Improve this Doc View Source

GetAllWorldNodesNoAlloc(Vector3[])

Declaration
public void GetAllWorldNodesNoAlloc(Vector3[] nodes)
Parameters
Type Name Description
UnityEngine.Vector3[] nodes
| Improve this Doc View Source

GetLocalFace(Int32)

Declaration
public Vector3[] GetLocalFace(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
UnityEngine.Vector3[]
| Improve this Doc View Source

GetLocalFaceNoAlloc(Int32, Vector3[])

Declaration
public void GetLocalFaceNoAlloc(int index, Vector3[] nodes)
Parameters
Type Name Description
System.Int32 index
UnityEngine.Vector3[] nodes
| Improve this Doc View Source

GetLocalNode(Int32)

Declaration
public Vector3 GetLocalNode(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
UnityEngine.Vector3
| Improve this Doc View Source

GetWorldFace(Int32)

Declaration
public Vector3[] GetWorldFace(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
UnityEngine.Vector3[]
| Improve this Doc View Source

GetWorldFaceNoAlloc(Int32, Vector3[])

Declaration
public void GetWorldFaceNoAlloc(int index, Vector3[] nodes)
Parameters
Type Name Description
System.Int32 index
UnityEngine.Vector3[] nodes
| Improve this Doc View Source

GetWorldNode(Int32)

Declaration
public Vector3 GetWorldNode(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
UnityEngine.Vector3
| Improve this Doc View Source

RemoveFace(Int32)

Declaration
public void RemoveFace(int faceIndex)
Parameters
Type Name Description
System.Int32 faceIndex
| Improve this Doc View Source

ReregisterInSystem()

Declaration
public void ReregisterInSystem()
| Improve this Doc View Source

SetNode(Int32, Vector3)

Declaration
public void SetNode(int index, Vector3 worldPosition)
Parameters
Type Name Description
System.Int32 index
UnityEngine.Vector3 worldPosition
| Improve this Doc View Source

SetNodeNoReregister(Int32, Vector3)

Declaration
public void SetNodeNoReregister(int index, Vector3 worldPosition)
Parameters
Type Name Description
System.Int32 index
UnityEngine.Vector3 worldPosition
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX