build Constructors 1

data_object Properties 16

Area
NavMeshAreaDefinition
The NavMesh area definition to apply to this link.
ClimbDirection
Vector3
World-space axis for ladder and climb traversal. Authored links use their object's up axis; generated ladders retain the trigger's axis. The NPC steps onto this line, climbs it, then steps off.
ClimbExitLift
float
Extra height above the upper landing needed to cross a generated ladder's top rung or roof rim. Traversal climbs to this height, crosses over the landing, then steps down onto it.
IsGenerated
bool
True for a drop, jump or ladder the navmesh generated. The navmesh owns it: it is not saved with the scene and may be destroyed or recreated at any time. Its type, positions, radius, direction and area are fixed and changes to them are ignored. Sandbox.NavMeshLink.Occupancy and the enter and exit callbacks may be used.
IsOccupied
bool
True while an agent crosses this link.
LinkEntered
Action`1
Emitted when an agent enters the link.
LinkExited
Action`1
Emitted when an agent exits the link.
LocalEndPosition
Vector3
End position relative to the game object's position.
LocalStartPosition
Vector3
Start position relative to the game object's position.
Occupancy
NavMeshLinkOccupancy
How many agents may cross at once.
Occupants
IReadOnlyList`1
The agents crossing this link, in the order they entered.
Type
NavMeshLinkType
What kind of link this is, for agents to allow, for paths to price and for game code to pick how to cross it. Without one it is a plain link that every agent takes. Sandbox.Engine.Resources.NavMeshLinkType has the ones the engine ships. Fixed on a generated link: setting it there does nothing.
WorldEndPosition
Vector3
End position in world space.
WorldEndPositionOnNavmesh
Nullable`1
End position in world space snapped to the navmesh.
WorldStartPosition
Vector3
Start position in world space.
WorldStartPositionOnNavmesh
Nullable`1
Start position in world space snapped to the navmesh.

Inheritance

people
Log in to reply
You can't reply if you're not logged in. That would be crazy.