Class NavigationSettings
The navigation system settings container.
Namespace: FlaxEditor.Content.Settings
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class NavigationSettings : SettingsBase
The navigation system settings container.
public sealed class NavigationSettings : SettingsBase
If checked, enables automatic navmesh actors spawning on a scenes that are using it during navigation building.
[EditorOrder(100)]
[EditorDisplay("Navigation", null)]
public bool AutoAddMissingNavMeshes
System.Boolean
|
If checked, enables automatic navmesh actors removing from a scenes that are not using it during navigation building.
[EditorOrder(110)]
[EditorDisplay("Navigation", null)]
public bool AutoRemoveMissingNavMeshes
System.Boolean
|
The height of a grid cell in the navigation mesh building steps using heightfields. A lower number means higher precision on the vertical axis but longer build times.
[Limit(1F, 400F, 1F)]
[EditorOrder(210)]
[EditorDisplay("Nav Mesh Options", null)]
public float CellHeight
System.Single
|
The width/height of a grid cell in the navigation mesh building steps using heightfields. A lower number means higher precision on the horizontal axes but longer build times.
[Limit(1F, 400F, 1F)]
[EditorOrder(220)]
[EditorDisplay("Nav Mesh Options", null)]
public float CellSize
System.Single
|
The sampling distance to use when generating the detail mesh.
[Limit(1F, 3.40282347E+38F, 1F)]
[EditorOrder(280)]
[EditorDisplay("Nav Mesh Options", "Detail Sampling Distance")]
public float DetailSamplingDist
System.Single
|
The maximum distance the detail mesh surface should deviate from heightfield data.
[Limit(0F, 3F, 1F)]
[EditorOrder(290)]
[EditorDisplay("Nav Mesh Options", null)]
public float MaxDetailSamplingError
System.Single
|
The maximum distance a simplified contour's border edges should deviate from the original raw contour.
[Limit(0.1F, 4F, 1F)]
[EditorOrder(270)]
[EditorDisplay("Nav Mesh Options", null)]
public float MaxEdgeError
System.Single
|
The maximum allowed length for contour edges along the border of the mesh.
[Limit(100F, 3.40282347E+38F, 1F)]
[EditorOrder(260)]
[EditorDisplay("Nav Mesh Options", "Max Edge Length")]
public float MaxEdgeLen
System.Single
|
Any regions with a span count smaller than this value will, if possible, be merged with larger regions.
[Limit(0F, 100F, 1F)]
[EditorOrder(250)]
[EditorDisplay("Nav Mesh Options", null)]
public int MergeRegionArea
System.Int32
|
The minimum number of cells allowed to form isolated island areas.
[Limit(0F, 100F, 1F)]
[EditorOrder(240)]
[EditorDisplay("Nav Mesh Options", null)]
public int MinRegionArea
System.Int32
|
The configuration for nav areas.
[EditorOrder(2000)]
[EditorDisplay("Areas", "__inline__")]
public NavAreaProperties[] NavAreas
NavAreaProperties[]
|
The configuration for navmeshes.
[EditorOrder(1000)]
[EditorDisplay("Agents", "__inline__")]
public NavMeshProperties[] NavMeshes
NavMeshProperties[]
|
Tile size used for Navigation mesh tiles, the final size of a tile is CellSize*TileSize.
[Limit(8F, 4096F, 1F)]
[EditorOrder(230)]
[EditorDisplay("Nav Mesh Options", null)]
public int TileSize
System.Int32
|