public readonly record struct NavMeshParamsWhere a mesh's tile grid is and how big its tiles are.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public Vector3 OriginThe corner of tile (0, 0) — its minimum in X and Z.
public float TileWidthA tile's extent along X.
public float TileDepthA tile's extent along Z.
public float BorderToleranceHow far apart two tiles' border vertices may be, horizontally, and still be the same point. Tiles are baked on a shared voxel grid, so in practice this catches float error rather than real disagreement — a cell fraction is the right order of magnitude.
public float ClimbToleranceHow far apart two tiles' border vertices may be vertically. This is the agent's step height: the same reason a single tile connects a polygon to the one a step above it.
public static NavMeshParams SingleA single-tile mesh, for a level small enough not to stream.
Methods (1)
public NavMeshParams(Vector3 Origin, float TileWidth, float TileDepth, float BorderTolerance = 0.05, float ClimbTolerance = 0.9)Where a mesh's tile grid is and how big its tiles are.
Used by (25)
- CrowdBenchmarksVixen.Benchmarks.Navigation
- PathQueueBenchmarksVixen.Benchmarks.Navigation
- QueryBenchmarksVixen.Benchmarks.Navigation
- CrowdRetargetTestsVixen.Navigation.Tests
- CrowdTestsVixen.Navigation.Tests
- DetailMeshTestsVixen.Navigation.Tests
- HeightfieldTestsVixen.Navigation.Tests
- NavAreaVolumeTestsVixen.Navigation.Tests
- NavMeshVixen.Navigation
- NavMeshAssetVixen.Navigation
- NavMeshAssetTestsVixen.Navigation.Tests
- NavMeshBakeResultVixen.Navigation
- NavMeshBakeTestsVixen.Navigation.Tests
- NavMeshDebugDrawTestsVixen.Navigation.Tests
- NavMeshQueryTestsVixen.Navigation.Tests
- NavPathQueueJobTestsVixen.Navigation.Tests
- NavPathQueueTestsVixen.Navigation.Tests
- NavTileCacheVixen.Navigation
- NavigationAllocationTestsVixen.Navigation.Tests
- NavigationSystemTestsVixen.Navigation.Tests
- OffMeshConnectionTestsVixen.Navigation.Tests
- RegionMergeTestsVixen.Navigation.Tests
- Vixen_Navigation_NavMeshAssetSerializerVixen.Navigation
- Vixen_Navigation_NavMeshParamsSerializerVixen.Navigation
- WatershedTestsVixen.Navigation.Tests