Table of Contents

Class NavigationMeshLayer

Namespace
Stride.Navigation
Assembly
Stride.Navigation.dll

Layer containing built tiles for a single NavigationAgentSettings

[DataSerializer(typeof(NavigationMeshLayer.NavigationMeshLayerSerializer))]
[ContentSerializer(typeof(DataContentSerializer<NavigationMesh>))]
public class NavigationMeshLayer
Inheritance
NavigationMeshLayer

Properties

Tiles

Contains all the built tiles mapped to their tile coordinates

public IReadOnlyDictionary<Point, NavigationMeshTile> Tiles { get; }

Property Value

IReadOnlyDictionary<Point, NavigationMeshTile>

Methods

FindTile(Point)

Tries to find a built tile inside this layer

public NavigationMeshTile FindTile(Point tileCoordinate)

Parameters

tileCoordinate Point

The coordinate of the tile

Returns

NavigationMeshTile

The found tile or null