Scripting API

Scripting API

NavMeshModifier3D

Struct in Abyss.Navigation, from Abyss.Navigation.

Changes how a navmesh is baked from its entity's meshes and colliders, and from those under it: gives their floor an NavMeshModifier3D.Area — a road, a pond — or leaves them out of the bake, neither floor nor wall.

public struct NavMeshModifier3D

Remarks

The nearest one counts: an entity's own, else the nearest above it that applies to its children.

Constructors

public NavMeshModifier3D()

Walkable, with those under it.

Fields

LeaveOut

public bool LeaveOut

Whether what it changes is left out of the bake: neither floor nor wall.

Area

public int Area

The area their floor is baked as, by its place in Project Settings ▸ Navigation.

ApplyToChildren

public bool ApplyToChildren

Whether the entities under it are changed too.