NavigationSettings Class
Namespace: Stride.NavigationAssembly: Stride.Navigation.dll
Settings for the dynamic navigation mesh builder (DynamicNavigationMeshSystem)
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 |
|
IncludedCollisionGroups | Collision filter that indicates which colliders are used in navmesh generation |
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> |
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 |