ObjectConfig

data class ObjectConfig(val allowRotation: Boolean = true, val allowsTapToSelected: Boolean = true, val allowsMove: Boolean = true)

Immutable configuration for AR object interactions.

This data class represents a snapshot of the current interaction settings for AR objects in the scene. Instances are typically obtained via ARObjectConfiguration.getConfig.

See also

Constructors

Link copied to clipboard
constructor(allowRotation: Boolean = true, allowsTapToSelected: Boolean = true, allowsMove: Boolean = true)

Properties

Link copied to clipboard

Whether rotation is allowed for objects.

Link copied to clipboard

Whether objects can be moved/rotated by gestures.

Link copied to clipboard

Whether objects can be selected by tapping.