add

open suspend override fun add(model: ARObjectReference, configuration: ARObjectConfiguration.() -> Unit): InstanceId

Adds a new 3D object to the AR scene using a model reference.

Return

The unique identifier of the newly placed instance.

Parameters

model

The reference to the 3D model to be placed.

configuration

A builder block to customize the object's initial settings.