Struct · Ara
NavMeshSurface
Authored raw-geometry navigation surface; its derived mesh is content-addressed.
public struct NavMeshSurface : IComponent<NavMeshSurface>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
Profiles
public uint[] Profiles;Shared bake profiles to generate from this surface.
Default: [].
Geometry
public string Geometry;Source collision geometry asset, resolved by the asset/physics integration.
Default: null.
Min
public Vector3 Min;World-space lower bake bound.
Unit: m. Default: [0,0,0].
Max
public Vector3 Max;World-space upper bake bound.
Unit: m. Default: [0,0,0].
CellSize
public float CellSize;Horizontal voxel size in metres.
Unit: m. Range: [0.01, 10]. Default: 0.2.
TileSize
public ushort TileSize;Interior tile width in voxels.
Range: [8, 256]. Default: 64.
Methods
Access
public static ref NavMeshSurface Access(Entity entity, bool write);No description yet.
Insert
public static void Insert(in Commands commands, Entity entity, in NavMeshSurface value);No description yet.
Contains
public static bool Contains(Entity entity);No description yet.