Table of Contents

Class NavigationMesh

Namespace
Stride.Navigation
Assembly
Stride.Navigation.dll

A Navigation Mesh, can be used for pathfinding.

[DataContract("NavigationMesh")]
[DataSerializerGlobal(typeof(ReferenceSerializer<NavigationMesh>), null, DataSerializerGenericMode.None, false, false, Profile = "Content")]
[DataSerializer(typeof(NavigationMesh.NavigationMeshSerializer))]
[ContentSerializer(typeof(DataContentSerializer<NavigationMesh>))]
public class NavigationMesh
Inheritance
NavigationMesh

Properties

Layers

The layers of this navigation mesh, there will be one layer for each enabled group that a navigation mesh is selected to build for

[DataMember]
public IReadOnlyDictionary<Guid, NavigationMeshLayer> Layers { get; }

Property Value

IReadOnlyDictionary<Guid, NavigationMeshLayer>