Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    NavigationSettings Class

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

    Settings for the dynamic navigation mesh builder (DynamicNavigationMeshSystem)

    System.Object → Configuration → NavigationSettings
    Derived from NavigationSettings:

    [DataContract]
    [Display("Navigation", null)]
    [ObjectFactory(typeof(NavigationSettingsFactory))]
    [CategoryOrder(0, "Dynamic navigation mesh", Expand = ExpandRule.Never)]
    public class NavigationSettings : Configuration
    Name Description
    Fields
    Groups

    Settings for agents used with the dynamic navigation mesh

    Properties
    BuildSettings

    Build settings used by Recast

    EnableDynamicNavigationMesh

    If set to true, navigation meshes will be built at runtime. This allows for scene streaming and dynamic obstacles

    IncludedCollisionGroups

    Collision filter that indicates which colliders are used in navmesh generation

    | Improve this Doc View Source

    Fields


    Groups

    Settings for agents used with the dynamic navigation mesh

    [DataMember(30)]
    public List<NavigationMeshGroup> Groups
    Field Value
    Type Description
    System.Collections.Generic.List<NavigationMeshGroup>
    | Improve this Doc View Source

    Properties


    BuildSettings

    Build settings used by Recast

    [DataMember(20)]
    [Display(null, "Dynamic navigation mesh")]
    public NavigationMeshBuildSettings BuildSettings { get; set; }
    Property Value
    Type Description
    NavigationMeshBuildSettings

    EnableDynamicNavigationMesh

    If set to true, navigation meshes will be built at runtime. This allows for scene streaming and dynamic obstacles

    [DataMember(0)]
    [Display("Enabled", "Dynamic navigation mesh")]
    public bool EnableDynamicNavigationMesh { get; set; }
    Property Value
    Type Description
    System.Boolean

    IncludedCollisionGroups

    Collision filter that indicates which colliders are used in navmesh generation

    [DataMember(10)]
    [Display(null, "Dynamic navigation mesh")]
    public CollisionFilterGroupFlags IncludedCollisionGroups { get; set; }
    Property Value
    Type Description
    CollisionFilterGroupFlags

    Inherited Members

    Configuration.OfflineOnly

    Extension Methods

    NavigationSettingsExtensions.ComputeGroupsHash(NavigationSettings)
    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