Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    NavigationMesh Class

    Namespace: Stride.Navigation
    Assembly: Stride.Navigation.dll

    A Navigation Mesh, can be used for pathfinding.

    System.Object → NavigationMesh
    Derived from NavigationMesh:

    [DataContract("NavigationMesh")]
    [DataSerializerGlobal(typeof(ReferenceSerializer<NavigationMesh>), null, DataSerializerGenericMode.None, false, false, Profile = "Content")]
    [DataSerializer(typeof(NavigationMesh.NavigationMeshSerializer))]
    [ContentSerializer(typeof(DataContentSerializer<NavigationMesh>))]
    public class NavigationMesh
    Name Description
    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

    | Improve this Doc View Source

    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

    public IReadOnlyDictionary<Guid, NavigationMeshLayer> Layers { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<System.Guid, NavigationMeshLayer>

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation