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
 - 
      objectNavigationMeshLayer
 
Properties
Tiles
Contains all the built tiles mapped to their tile coordinates
public IReadOnlyDictionary<Point, NavigationMeshTile> Tiles { get; }
  Property Value
Methods
FindTile(Point)
Tries to find a built tile inside this layer
public NavigationMeshTile FindTile(Point tileCoordinate)
  Parameters
tileCoordinatePointThe coordinate of the tile
Returns
- NavigationMeshTile
 The found tile or null