One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

MeshResource.Instance

struct · iOS 15.0+ · SDK 27.1

struct Instance

An object that transforms a model to a location.

Members (7)

init · iOS 15.0+

init

TypeScript
static init(id: string, model: string, transform?: (SDKHandle) | null): Promise<MeshResource_Instance>
Swift declaration
init(id: String, model: String, at transform: simd_float4x4? = nil)
get · iOS 15.0+

id

TypeScript
get id(): Promise<string>
Swift declaration
var id: String

The stable identity of the entity associated with this instance.

set · iOS 15.0+

id

TypeScript
setId(value: string): Promise<void>
Swift declaration
var id: String

The stable identity of the entity associated with this instance.

get · iOS 15.0+

model

TypeScript
get model(): Promise<string>
Swift declaration
var model: String

Name of the model to instance.

set · iOS 15.0+

model

TypeScript
setModel(value: string): Promise<void>
Swift declaration
var model: String

Name of the model to instance.

get · iOS 15.0+

transform

TypeScript
get transform(): Promise<SDKHandle>
Swift declaration
var transform: simd_float4x4

Transform for the instance.

set · iOS 15.0+

transform

TypeScript
setTransform(value: SDKHandle): Promise<void>
Swift declaration
var transform: simd_float4x4

Transform for the instance.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →