init
TypeScriptstatic init(id: string, model: string, transform?: (SDKHandle) | null): Promise<MeshResource_Instance>Swift declarationinit(id: String, model: String, at transform: simd_float4x4? = nil)struct · iOS 15.0+ · SDK 27.1
struct InstanceAn object that transforms a model to a location.
static init(id: string, model: string, transform?: (SDKHandle) | null): Promise<MeshResource_Instance>Swift declarationinit(id: String, model: String, at transform: simd_float4x4? = nil)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 model(): Promise<string>Swift declarationvar model: StringName of the model to instance.
setModel(value: string): Promise<void>Swift declarationvar model: StringName of the model to instance.
get transform(): Promise<SDKHandle>Swift declarationvar transform: simd_float4x4Transform for the instance.
setTransform(value: SDKHandle): Promise<void>Swift declarationvar transform: simd_float4x4Transform for the instance.
No declarations were skipped in this snapshot.