cellHeight
TypeScriptget cellHeight(): numberSwift declarationvar cellHeight: DoubleThe height of a cell, in meters.
struct · iOS 27.0+ · SDK 27.1
struct ConfigurationThe NavigationMeshResource configuration that defines how the mesh is created.
get cellHeight(): numberSwift declarationvar cellHeight: DoubleThe height of a cell, in meters.
set cellHeight(value: number)Swift declarationvar cellHeight: DoubleThe height of a cell, in meters.
get walkableClimb(): numberSwift declarationvar walkableClimb: DoubleThe maximum height difference between two surfaces that a character can walk through, in meters.
set walkableClimb(value: number)Swift declarationvar walkableClimb: DoubleThe maximum height difference between two surfaces that a character can walk through, in meters.
get characterHeight(): numberSwift declarationvar characterHeight: DoubleThe height of characters using this Navigation Mesh, representing the minimum height of obstacles above a surface to allow it to be walkable, in meters.
set characterHeight(value: number)Swift declarationvar characterHeight: DoubleThe height of characters using this Navigation Mesh, representing the minimum height of obstacles above a surface to allow it to be walkable, in meters.
get characterRadius(): numberSwift declarationvar characterRadius: DoubleThe radius of characters using this Navigation Mesh, representing the minimum distance from edges or obstacles that can still be walkable, in meters.
set characterRadius(value: number)Swift declarationvar characterRadius: DoubleThe radius of characters using this Navigation Mesh, representing the minimum distance from edges or obstacles that can still be walkable, in meters.
get partitionMethod(): NavigationMeshResource_Configuration_PartitionMethodSwift declarationvar partitionMethod: NavigationMeshResource.Configuration.PartitionMethodThe partitioning method to use when creating the polygon regions of the Navigation Mesh.
set partitionMethod(value: NavigationMeshResource_Configuration_PartitionMethod)Swift declarationvar partitionMethod: NavigationMeshResource.Configuration.PartitionMethodThe partitioning method to use when creating the polygon regions of the Navigation Mesh.
get maximumEdgeLength(): numberSwift declarationvar maximumEdgeLength: DoubleThe maximum length of polygon edges in the generated Navigation Mesh, in meters. This value can help modify the resulting Navigation Mesh to have better-looking polygons on maps with long, uninterrupted edges.
set maximumEdgeLength(value: number)Swift declarationvar maximumEdgeLength: DoubleThe maximum length of polygon edges in the generated Navigation Mesh, in meters. This value can help modify the resulting Navigation Mesh to have better-looking polygons on maps with long, uninterrupted edges.
get walkableSlopeAngle(): numberSwift declarationvar walkableSlopeAngle: DoubleThe maximum slope angle that will allow a surface to be walkable, in degrees.
set walkableSlopeAngle(value: number)Swift declarationvar walkableSlopeAngle: DoubleThe maximum slope angle that will allow a surface to be walkable, in degrees.
get detailSampleDistance(): numberSwift declarationvar detailSampleDistance: DoubleThe sampling distance used when generating the detailed Navigation Mesh heightmap, in meters.
set detailSampleDistance(value: number)Swift declarationvar detailSampleDistance: DoubleThe sampling distance used when generating the detailed Navigation Mesh heightmap, in meters.
get minimumCellsPerRegion(): numberSwift declarationvar minimumCellsPerRegion: IntThe minimum number of cells allowed to generate isolated regions or islands in the Navigation Mesh.
set minimumCellsPerRegion(value: number)Swift declarationvar minimumCellsPerRegion: IntThe minimum number of cells allowed to generate isolated regions or islands in the Navigation Mesh.
get detailSampleMaximumError(): numberSwift declarationvar detailSampleMaximumError: DoubleThe maximum deviation from the original heightfield data allowed when creating the detailed heightmap, in meters.
set detailSampleMaximumError(value: number)Swift declarationvar detailSampleMaximumError: DoubleThe maximum deviation from the original heightfield data allowed when creating the detailed heightmap, in meters.
get maximumVerticesPerPolygon(): numberSwift declarationvar maximumVerticesPerPolygon: IntThe maximum vertices per polygon used when creating the Navigation Mesh.
set maximumVerticesPerPolygon(value: number)Swift declarationvar maximumVerticesPerPolygon: IntThe maximum vertices per polygon used when creating the Navigation Mesh.
get maximumSimplificationError(): numberSwift declarationvar maximumSimplificationError: DoubleThe maximum deviation that the contours of a generated Navigation Mesh can have from the original mesh, in meters.
set maximumSimplificationError(value: number)Swift declarationvar maximumSimplificationError: DoubleThe maximum deviation that the contours of a generated Navigation Mesh can have from the original mesh, in meters.
get minimumCellsToMergeRegions(): numberSwift declarationvar minimumCellsToMergeRegions: IntThe number of walkable cells in a region below which the region will be merged with nearby regions to simplify the Navigation Mesh.
set minimumCellsToMergeRegions(value: number)Swift declarationvar minimumCellsToMergeRegions: IntThe number of walkable cells in a region below which the region will be merged with nearby regions to simplify the Navigation Mesh.
static init(cellSize: number, cellHeight: number, walkableSlopeAngle: number, characterHeight: number, walkableClimb: number, characterRadius: number): NavigationMeshResource_ConfigurationSwift declarationinit(cellSize: Double, cellHeight: Double, walkableSlopeAngle: Double, characterHeight: Double, walkableClimb: Double, characterRadius: Double)get cellSize(): numberSwift declarationvar cellSize: DoubleThe x-z size of a cell, in meters.
set cellSize(value: number)Swift declarationvar cellSize: DoubleThe x-z size of a cell, in meters.
No declarations were skipped in this snapshot.