init
TypeScriptstatic initIdDescriptors(modelID: string, descriptors: Array<MeshDescriptor>): Promise<MeshResource_Model>Swift declaration@MainActor @preconcurrency init(id modelID: String, descriptors: [MeshDescriptor]) throwsstruct · iOS 15.0+ · SDK 27.1
struct ModelA model consists of a list of parts.
static initIdDescriptors(modelID: string, descriptors: Array<MeshDescriptor>): Promise<MeshResource_Model>Swift declaration@MainActor @preconcurrency init(id modelID: String, descriptors: [MeshDescriptor]) throwsstatic initIdParts(id: string, parts: Array<MeshResource_Part>): Promise<MeshResource_Model>Swift declarationinit(id: String, parts: [MeshResource.Part])get id(): Promise<string>Swift declarationvar id: StringThe stable identity of the entity associated with this instance.
setId(value: string): Promise<void>Swift declarationvar id: StringThe stable identity of the entity associated with this instance.
get parts(): Promise<MeshPartCollection>Swift declarationvar parts: MeshPartCollectionTable of parts composing this mesh.
setParts(value: MeshPartCollection): Promise<void>Swift declarationvar parts: MeshPartCollectionTable of parts composing this mesh.
No declarations were skipped in this snapshot.