One Logo Pool Ball
ARKit · IOS API REFERENCE

ARGeometryElement

class · iOS 13.4+ · SDK 27.1

class ARGeometryElement

Members (6)

get · iOS 13.4+

buffer

TypeScript
get buffer(): SDKHandle
Swift declaration
var buffer: any MTLBuffer { get }
get · iOS 13.4+

bytesPerIndex

TypeScript
get bytesPerIndex(): number
Swift declaration
var bytesPerIndex: Int { get }
get · iOS 13.4+

count

TypeScript
get count(): number
Swift declaration
var count: Int { get }
get · iOS 13.4+

indexCountPerPrimitive

TypeScript
get indexCountPerPrimitive(): number
Swift declaration
var indexCountPerPrimitive: Int { get }
get · iOS 13.4+

primitiveType

TypeScript
get primitiveType(): ARGeometryPrimitiveType
Swift declaration
var primitiveType: ARGeometryPrimitiveType { get }
subscript · iOS 14.0+

subscript

TypeScript
subscript(index: number): Array<number>
Swift declaration
@nonobjc subscript(index: Int) -> [Int32] { get }

Access an array of values of the geometry element where the geometry element's `.bytesPerIndex` equals `MemoryLayout<Int32>.size`. Using this subscript operator leads to a crash if the geometry element's `.bytesPerIndex` does not equal `MemoryLayout<Int32>.size`. - Parameter index: Index of the array of values to access. - Returns: An array of `Int32`.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ARGeometryElement.init()

inherited init: clang: 'init' is unavailable

All ARKit types →