Class NavMesh
The navigation mesh actor that holds a navigation data for a scene.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public class NavMesh : Actor, ISerializable
Constructors
NavMesh()
Properties
Properties
The navigation mesh properties.
Declaration
[EditorOrder(10)]
[EditorDisplay("Nav Mesh", null)]
[Unmanaged]
public NavMeshProperties Properties { get; set; }
Property Value
NavMeshProperties
|
ShowDebugDraw
If checked, the navmesh will be drawn in debug view when showing navigation data.
Declaration
[EditorOrder(1)]
[EditorDisplay("Nav Mesh", null)]
[Unmanaged]
public bool ShowDebugDraw { get; set; }
Property Value
System.Boolean
|
Methods
GetRuntime(Boolean)
Gets the navmesh runtime object that matches with properties.
Declaration
[Unmanaged]
public NavMeshRuntime GetRuntime(bool createIfMissing = true)
Parameters
System.Boolean
createIfMissing
|
Returns
NavMeshRuntime
|