Struct · Ara
NavArea
Area label and cost policy for the collision-geometry producer and query filters.
public struct NavArea : IComponent<NavArea>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
Area
public byte Area;Semantic area ID, from 0 through 15.
Range: [0, 15]. Default: 0.
Name
public string Name;Inspector name (for example Ground, Water or Hazard).
Default: "".
Cost
public float Cost;Default query traversal cost; agents can override it in their state filter.
Range: [1, 1000000]. Default: 1.
Methods
Access
public static ref NavArea Access(Entity entity, bool write);No description yet.
Insert
public static void Insert(in Commands commands, Entity entity, in NavArea value);No description yet.
Contains
public static bool Contains(Entity entity);No description yet.