Scripting API
Scripting API
NavMeshSurface3D
Struct in Abyss.Navigation, from Abyss.Navigation.
Where agents of one type walk: a navmesh baked from the entities under it, or its whole scene — their meshes, their colliders or both — for the agent type it names; the bake kept in a file beside its scene (NavMeshSurface3D.Baked), which the game loads as the surface appears. Baked in the editor by Window ▸ Navigation ▸ Navigation, or by Bake on its menu in the Inspector.
public struct NavMeshSurface3DConstructors
NavMeshSurface3D
public NavMeshSurface3D()Baked for the first agent type, from the meshes under it, on every layer.
Fields
AgentType
public int AgentTypeWhich agent type it is baked for: its place in Project Settings ▸ Navigation.
Geometry
public NavMeshGeometry3D GeometryWhat it is baked from.
Collect
public NavMeshCollect3D CollectWhich entities.
Layers
public LayerMask LayersOnly entities on these layers are baked.
Baked
public FileRef BakedThe navmesh it was baked as, a file beside its scene; none before it is baked.
