Model:clone

Edit

Returns a lightweight copy of a Model. Most of the data will be shared between the two copies of the model, like the materials, textures, and metadata. However, the clone has its own set of node transforms, allowing it to be animated separately from its parent. This allows a single model to be rendered in multiple different animation poses in a frame.

model = Model:clone()

Arguments

None

Returns

NameTypeDescription
modelModel A genetically identical copy of the Model.

Notes

The node transforms of the clone will be reset to their initial setup poses.

See also