canExportFileExtension
TypeScriptstatic canExportFileExtension(extension: string): booleanSwift declarationclass func canExportFileExtension(_ extension: String) -> Boolclass · iOS 9.0+ · SDK 27.1
class MDLAssetstatic canExportFileExtension(extension: string): booleanSwift declarationclass func canExportFileExtension(_ extension: String) -> Boolstatic canImportFileExtension(extension: string): booleanSwift declarationclass func canImportFileExtension(_ extension: String) -> Boolstatic placeLightProbes(value: number, type: MDLProbePlacement, dataSource: SDKHandle): Array<MDLLightProbe>Swift declarationclass func placeLightProbes(withDensity value: Float, heuristic type: MDLProbePlacement, using dataSource: any MDLLightProbeIrradianceDataSource) -> [MDLLightProbe]add(object: MDLObject): voidSwift declarationfunc add(_ object: MDLObject)boundingBoxAtTime(time: number): MDLAxisAlignedBoundingBoxSwift declarationfunc boundingBox(atTime time: TimeInterval) -> MDLAxisAlignedBoundingBoxchildObjects(objectClass: string): Array<MDLObject>Swift declarationfunc childObjects(of objectClass: AnyClass) -> [MDLObject]export(URL: string): voidSwift declarationfunc export(to URL: URL) throwsstatic initBufferAllocator(bufferAllocator?: (SDKHandle) | null): MDLAssetSwift declarationinit(bufferAllocator: (any MDLMeshBufferAllocator)?)static initUrl(URL: string): MDLAssetSwift declarationinit(url URL: URL)static initUrlVertexDescriptorBufferAllocator(URL?: (string) | null, vertexDescriptor?: (MDLVertexDescriptor) | null, bufferAllocator?: (SDKHandle) | null): MDLAssetSwift declarationinit(url URL: URL?, vertexDescriptor: MDLVertexDescriptor?, bufferAllocator: (any MDLMeshBufferAllocator)?)static initUrlVertexDescriptorBufferAllocatorPreserveTopologyError(URL: string, vertexDescriptor: (MDLVertexDescriptor) | null, bufferAllocator: (SDKHandle) | null, preserveTopology: boolean): { $ret: MDLAsset; $out: { "error": (_Foundation_NSError) | null } }Swift declarationinit(url URL: URL, vertexDescriptor: MDLVertexDescriptor?, bufferAllocator: (any MDLMeshBufferAllocator)?, preserveTopology: Bool, error: NSErrorPointer)Omit the output parameters from the call. The result contains $ret and $out, with error inside $out.
loadTextures(): voidSwift declarationfunc loadTextures()objectAt(index: number): MDLObjectSwift declarationfunc object(at index: Int) -> MDLObjectsubscript(index: number): (MDLObject) | nullSwift declarationsubscript(index: Int) -> MDLObject? { get }objectAtPath(path: string): MDLObjectSwift declarationfunc object(atPath path: String) -> MDLObjectremove(object: MDLObject): voidSwift declarationfunc remove(_ object: MDLObject)get url(): (string) | nullSwift declarationvar url: URL? { get }get animations(): SDKHandleSwift declarationvar animations: any MDLObjectContainerComponent { get set }set animations(value: SDKHandle)Swift declarationvar animations: any MDLObjectContainerComponent { get set }get boundingBox(): MDLAxisAlignedBoundingBoxSwift declarationvar boundingBox: MDLAxisAlignedBoundingBox { get }get bufferAllocator(): SDKHandleSwift declarationvar bufferAllocator: any MDLMeshBufferAllocator { get }get count(): numberSwift declarationvar count: Int { get }get endTime(): numberSwift declarationvar endTime: TimeInterval { get set }set endTime(value: number)Swift declarationvar endTime: TimeInterval { get set }get frameInterval(): numberSwift declarationvar frameInterval: TimeInterval { get set }set frameInterval(value: number)Swift declarationvar frameInterval: TimeInterval { get set }get masters(): SDKHandleSwift declarationvar masters: any MDLObjectContainerComponent { get set }set masters(value: SDKHandle)Swift declarationvar masters: any MDLObjectContainerComponent { get set }get originals(): SDKHandleSwift declarationvar originals: any MDLObjectContainerComponent { get set }set originals(value: SDKHandle)Swift declarationvar originals: any MDLObjectContainerComponent { get set }get resolver(): (SDKHandle) | nullSwift declarationvar resolver: (any MDLAssetResolver)? { get set }set resolver(value: (SDKHandle) | null)Swift declarationvar resolver: (any MDLAssetResolver)? { get set }get startTime(): numberSwift declarationvar startTime: TimeInterval { get set }set startTime(value: number)Swift declarationvar startTime: TimeInterval { get set }get upAxis(): SDKHandleSwift declarationvar upAxis: vector_float3 { get set }set upAxis(value: SDKHandle)Swift declarationvar upAxis: vector_float3 { get set }get vertexDescriptor(): (MDLVertexDescriptor) | nullSwift declarationvar vertexDescriptor: MDLVertexDescriptor? { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MDLAsset.init()
inherited init: cannot prove legal (class declares 7 custom initializers)