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 NavMeshSurface3D

Constructors

public NavMeshSurface3D()

Baked for the first agent type, from the meshes under it, on every layer.

Fields

AgentType

public int AgentType

Which agent type it is baked for: its place in Project Settings ▸ Navigation.

Geometry

public NavMeshGeometry3D Geometry

What it is baked from.

Collect

public NavMeshCollect3D Collect

Which entities.

Layers

public LayerMask Layers

Only entities on these layers are baked.

Baked

public FileRef Baked

The navmesh it was baked as, a file beside its scene; none before it is baked.