iOS reference / SceneKit / SCNGeometryElementSceneKit · IOS API REFERENCE
SCNGeometryElement class · SDK 27.1
class SCNGeometryElementMembers (19) init · iOS 14.0+ init TypeScript static initBufferPrimitiveTypePrimitiveCountBytesPerIndex(buffer: SDKHandle, primitiveType: SCNGeometryPrimitiveType, primitiveCount: number, bytesPerIndex: number): SCNGeometryElementSwift declaration convenience init(buffer: any MTLBuffer, primitiveType: SCNGeometryPrimitiveType, primitiveCount: Int, bytesPerIndex: Int)init · iOS 16.0+ init TypeScript static initBufferPrimitiveTypePrimitiveCountIndicesChannelCountInterleavedIndicesChannelsBytesPerIndex(buffer: SDKHandle, primitiveType: SCNGeometryPrimitiveType, primitiveCount: number, indicesChannelCount: number, interleavedIndicesChannels: boolean, bytesPerIndex: number): SCNGeometryElementSwift declaration convenience init(buffer: any MTLBuffer, primitiveType: SCNGeometryPrimitiveType, primitiveCount: Int, indicesChannelCount: Int, interleavedIndicesChannels: Bool, bytesPerIndex: Int)init init TypeScript static initDataPrimitiveTypePrimitiveCountBytesPerIndex(data: (ArrayBuffer) | null, primitiveType: SCNGeometryPrimitiveType, primitiveCount: number, bytesPerIndex: number): SCNGeometryElementSwift declaration convenience init(data: Data?, primitiveType: SCNGeometryPrimitiveType, primitiveCount: Int, bytesPerIndex: Int)init · iOS 16.0+ init TypeScript static initDataPrimitiveTypePrimitiveCountIndicesChannelCountInterleavedIndicesChannelsBytesPerIndex(data: (ArrayBuffer) | null, primitiveType: SCNGeometryPrimitiveType, primitiveCount: number, indicesChannelCount: number, interleavedIndicesChannels: boolean, bytesPerIndex: number): SCNGeometryElementSwift declaration convenience init(data: Data?, primitiveType: SCNGeometryPrimitiveType, primitiveCount: Int, indicesChannelCount: Int, interleavedIndicesChannels: Bool, bytesPerIndex: Int)get bytesPerIndex TypeScript get bytesPerIndex(): numberSwift declaration var bytesPerIndex: Int { get }get data TypeScript get data(): ArrayBufferSwift declaration var data: Data { get }get · iOS 16.0+ indicesChannelCount TypeScript get indicesChannelCount(): numberSwift declaration var indicesChannelCount: Int { get }get · iOS 16.0+ hasInterleavedIndicesChannels TypeScript get hasInterleavedIndicesChannels(): booleanSwift declaration var hasInterleavedIndicesChannels: Bool { get }get · iOS 11.0+ maximumPointScreenSpaceRadius TypeScript get maximumPointScreenSpaceRadius(): numberSwift declaration var maximumPointScreenSpaceRadius: CGFloat { get set }set · iOS 11.0+ maximumPointScreenSpaceRadius TypeScript set maximumPointScreenSpaceRadius(value: number)Swift declaration var maximumPointScreenSpaceRadius: CGFloat { get set }get · iOS 11.0+ minimumPointScreenSpaceRadius TypeScript get minimumPointScreenSpaceRadius(): numberSwift declaration var minimumPointScreenSpaceRadius: CGFloat { get set }set · iOS 11.0+ minimumPointScreenSpaceRadius TypeScript set minimumPointScreenSpaceRadius(value: number)Swift declaration var minimumPointScreenSpaceRadius: CGFloat { get set }get · iOS 11.0+ pointSize TypeScript get pointSize(): numberSwift declaration var pointSize: CGFloat { get set }set · iOS 11.0+ pointSize TypeScript set pointSize(value: number)Swift declaration var pointSize: CGFloat { get set }get primitiveCount TypeScript get primitiveCount(): numberSwift declaration var primitiveCount: Int { get }get · iOS 11.0+ primitiveRange TypeScript get primitiveRange(): SDKHandleSwift declaration var primitiveRange: NSRange { get set }set · iOS 11.0+ primitiveRange TypeScript set primitiveRange(value: SDKHandle)Swift declaration var primitiveRange: NSRange { get set }get primitiveType TypeScript get primitiveType(): SCNGeometryPrimitiveTypeSwift declaration var primitiveType: SCNGeometryPrimitiveType { get }init · iOS 8.0+ init TypeScript static initIndicesPrimitiveType(indices: Array<number>, primitiveType: SCNGeometryPrimitiveType): SCNGeometryElementSwift declaration convenience init<IndexType>(indices: [IndexType], primitiveType: SCNGeometryPrimitiveType) where IndexType : FixedWidthIntegerCreates an instance from `indices` for a `primitiveType`
that has a constant number of indices per primitive
- Precondition: the `primitiveType` must be `.triangles`, `.triangleStrip`, `.line` or `.point`
Skipped declarations 1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SCNGeometryElement.init()
inherited init: cannot prove legal (class declares 5 custom initializers)
All SceneKit types →