CloneOptions

class CloneOptions(val recursive: Boolean = false, val shouldShareMaterialInstance: Boolean = false)

Represents options for cloning operations.

Constructors

Link copied to clipboard
constructor(recursive: Boolean = false, shouldShareMaterialInstance: Boolean = false)

Properties

Link copied to clipboard
val recursive: Boolean

Indicates whether the cloning should be performed recursively. If true, all child objects will also be cloned.

Link copied to clipboard

Indicates whether the material instance should be shared. If true, the material instance will be shared between the original and the cloned object.