Struct NavAreaProperties
The navigation area properties container for navmesh building and navigation runtime.
Assembly: FlaxEngine.dll
File: Engine/Navigation/NavigationTypes.h
Syntax
public struct NavAreaProperties : public ISerializable
The navigation area properties container for navmesh building and navigation runtime.
public struct NavAreaProperties : public ISerializable
The area type color (for debugging). Alpha channel is used to blend with navmesh color (alpha 0 to use navmesh color only).
public Color Color = Color::Transparent
Color
|
The cost scale for the area traversal for agents. The higher the cost, the less likely agent wil choose the path that goes over it. For instance, areas that are harder to move like sand should have higher cost for proper path finding.
public float Cost = 1
float
|
The area id. It must be unique for the project. Valid range 0-63. Value 0 is reserved for Null areas (empty, non-navigable areas).
public byte Id
byte
|
The area type name. Identifies different types of the areas.
public String Name
String
|
public bool operator!=(const NavAreaProperties& other) const
NavAreaProperties
other
|
bool
|
public bool operator==(const NavAreaProperties& other) const
NavAreaProperties
other
|
bool
|