Plush

NavigationMeshData#

PlushEngine · Type index

Namespace: PlushEngine.Navigation (using PlushEngine.Navigation;)

Derived static navigation payload, carried by a scene and its exported package. Rebuild it from authored settings.

public sealed record NavigationMeshData

Members: Id · MeshBytes · PreviewTriangles · Profile · SourceHash · Version

Id#

public string Id { get; init; }

Initial value: ""

The navigation settings datablock ID.

MeshBytes#

public byte[] MeshBytes { get; init; }

Initial value: []

The compiled single-region mesh; backend bytes are private to the navigation adapter.

PreviewTriangles#

public float[] PreviewTriangles { get; init; }

Initial value: []

Preview triangle positions, x/y/z per vertex, in scene world space.

Profile#

public NavigationProfile Profile { get; init; }

Initial value: new()

The capsule and resolution that produced this mesh.

SourceHash#

public string SourceHash { get; init; }

Initial value: ""

Content fingerprint of the selected collision geometry and bake settings.

Version#

public int Version { get; init; }

Initial value: 1

Payload format version; currently 1.

NavigationProfile

Source#