One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

NavigationMeshResource.HeightData

struct · iOS 27.0+ · SDK 27.1

struct HeightData

A container for the detailed height data of the NavigationMeshResource.

Members (7)

get · iOS 27.0+

triangleIndices

TypeScript
get triangleIndices(): Array<Array<number>>
Swift declaration
var triangleIndices: [[Int]]

The triangle indices of the detailed height data mesh.

set · iOS 27.0+

triangleIndices

TypeScript
set triangleIndices(value: Array<Array<number>>)
Swift declaration
var triangleIndices: [[Int]]

The triangle indices of the detailed height data mesh.

get · iOS 27.0+

polygonTriangleIndices

TypeScript
get polygonTriangleIndices(): Array<number>
Swift declaration
var polygonTriangleIndices: [Int]

The groups of triangles that make up a polygon in the detailed height data mesh, used to get the corresponding triangles for a given polygon in the generated Navigation Mesh.

set · iOS 27.0+

polygonTriangleIndices

TypeScript
set polygonTriangleIndices(value: Array<number>)
Swift declaration
var polygonTriangleIndices: [Int]

The groups of triangles that make up a polygon in the detailed height data mesh, used to get the corresponding triangles for a given polygon in the generated Navigation Mesh.

init · iOS 27.0+

init

TypeScript
static init(vertices: Array<SDKHandle>, triangleIndices: Array<Array<number>>, polygonTriangleIndices: Array<number>): NavigationMeshResource_HeightData
Swift declaration
init(vertices: [SIMD3<Float>], triangleIndices: [[Int]], polygonTriangleIndices: [Int])
get · iOS 27.0+

vertices

TypeScript
get vertices(): Array<SDKHandle>
Swift declaration
var vertices: [SIMD3<Float>]

The vertices of the detailed height data mesh.

set · iOS 27.0+

vertices

TypeScript
set vertices(value: Array<SDKHandle>)
Swift declaration
var vertices: [SIMD3<Float>]

The vertices of the detailed height data mesh.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →