coarseMesh
TypeScriptcoarseMesh(): (MDLMesh) | nullSwift declarationfunc coarseMesh() -> MDLMesh?class · iOS 9.0+ · SDK 27.1
class MDLVoxelArraycoarseMesh(): (MDLMesh) | nullSwift declarationfunc coarseMesh() -> MDLMesh?coarseMeshUsing(allocator?: (SDKHandle) | null): (MDLMesh) | nullSwift declarationfunc coarseMesh(using allocator: (any MDLMeshBufferAllocator)?) -> MDLMesh?convertToSignedShellField(): voidSwift declarationfunc convertToSignedShellField()difference(voxels: MDLVoxelArray): voidSwift declarationfunc difference(with voxels: MDLVoxelArray)index(location: SDKHandle): SDKHandleSwift declarationfunc index(ofSpatialLocation location: vector_float3) -> MDLVoxelIndexstatic initAssetDivisionsPatchRadius(asset: MDLAsset, divisions: number, patchRadius: number): MDLVoxelArraySwift declarationinit(asset: MDLAsset, divisions: Int32, patchRadius: Float)static initDataBoundingBoxVoxelExtent(voxelData: ArrayBuffer, boundingBox: MDLAxisAlignedBoundingBox, voxelExtent: number): MDLVoxelArraySwift declarationinit(data voxelData: Data, boundingBox: MDLAxisAlignedBoundingBox, voxelExtent: Float)intersect(voxels: MDLVoxelArray): voidSwift declarationfunc intersect(with voxels: MDLVoxelArray)mesh(allocator?: (SDKHandle) | null): (MDLMesh) | nullSwift declarationfunc mesh(using allocator: (any MDLMeshBufferAllocator)?) -> MDLMesh?setVoxelAtIndex(index: SDKHandle): voidSwift declarationfunc setVoxelAtIndex(_ index: MDLVoxelIndex)setVoxelsFor(mesh: MDLMesh, divisions: number, patchRadius: number): voidSwift declarationfunc setVoxelsFor(_ mesh: MDLMesh, divisions: Int32, patchRadius: Float)spatialLocation(index: SDKHandle): SDKHandleSwift declarationfunc spatialLocation(ofIndex index: MDLVoxelIndex) -> vector_float3union(voxels: MDLVoxelArray): voidSwift declarationfunc union(with voxels: MDLVoxelArray)voxelBoundingBox(index: SDKHandle): MDLAxisAlignedBoundingBoxSwift declarationfunc voxelBoundingBox(atIndex index: MDLVoxelIndex) -> MDLAxisAlignedBoundingBoxvoxelExists(index: SDKHandle, allowAnyX: boolean, allowAnyY: boolean, allowAnyZ: boolean, allowAnyShell: boolean): booleanSwift declarationfunc voxelExists(atIndex index: MDLVoxelIndex, allowAnyX: Bool, allowAnyY: Bool, allowAnyZ: Bool, allowAnyShell: Bool) -> BoolvoxelIndices(): (ArrayBuffer) | nullSwift declarationfunc voxelIndices() -> Data?voxels(extent: MDLVoxelIndexExtent): (ArrayBuffer) | nullSwift declarationfunc voxels(within extent: MDLVoxelIndexExtent) -> Data?get boundingBox(): MDLAxisAlignedBoundingBoxSwift declarationvar boundingBox: MDLAxisAlignedBoundingBox { get }get count(): numberSwift declarationvar count: Int { get }get isValidSignedShellField(): booleanSwift declarationvar isValidSignedShellField: Bool { get }get shellFieldExteriorThickness(): numberSwift declarationvar shellFieldExteriorThickness: Float { get set }set shellFieldExteriorThickness(value: number)Swift declarationvar shellFieldExteriorThickness: Float { get set }get shellFieldInteriorThickness(): numberSwift declarationvar shellFieldInteriorThickness: Float { get set }set shellFieldInteriorThickness(value: number)Swift declarationvar shellFieldInteriorThickness: Float { get set }get voxelIndexExtent(): MDLVoxelIndexExtentSwift declarationvar voxelIndexExtent: MDLVoxelIndexExtent { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MDLVoxelArray.init()
inherited init: cannot prove legal (class declares 2 custom initializers)