Scripting API
Scripting API
NavMeshBakeLink3D
Record struct in Abyss.Navigation, from Abyss.Navigation.
A way across that a navmesh is baked with, a link: from Start to End, in world space, a gap to jump or a ledge to drop off, which a path crosses as it would a floor of its Area.
public readonly record struct NavMeshBakeLink3DConstructors
NavMeshBakeLink3D
public NavMeshBakeLink3D(Vector3 Start, Vector3 End, float Radius, int Area = 0, bool BothWays = true, uint Id = 0)A way across that a navmesh is baked with, a link: from Start to End, in world space, a gap to jump or a ledge to drop off, which a path crosses as it would a floor of its Area.
Parameters
Start: Where it starts, on or near the navmesh.End: Where it ends.Radius: How far across from each end the navmesh is looked for, in meters.Area: The area it counts as, by its place: Walkable, or one of the project's own.BothWays: Whether it is crossed from its end too.Id: What says which link it is.
Properties
Start
public Vector3 Start { get; init; }Where it starts, on or near the navmesh.
End
public Vector3 End { get; init; }Where it ends.
Radius
public float Radius { get; init; }How far across from each end the navmesh is looked for, in meters.
Area
public int Area { get; init; }The area it counts as, by its place: Walkable, or one of the project's own.
BothWays
public bool BothWays { get; init; }Whether it is crossed from its end too.
Id
public uint Id { get; init; }What says which link it is.
