Математика

Физика

Химия

Биология

Техника и    технологии

cloneDeep

Usage

member(whichCastmember).model(whichModel).cloneDeep(cloneName)

member(whichCastmember).group(whichGroup).cloneDeep(cloneName)

member(whichCastmember).light(whichLight).cloneDeep(cloneName)

member(whichCastmember).camera(whichCamera).cloneDeep(cloneName)

Description

3D command; creates a copy of the model, group, light, or camera plus all of the following:

• The model resources, shaders, and textures used by the original model or group

• The children of the model, group, light, or camera

• The model resources, shaders, and textures used by the children

This method uses more memory and takes more time than the clone command.

Parameters

cloneName Required. Specifies the name of the new clone.

Example

This statement creates a copy of the model named Teapot, its children, and the model resources,

shaders, and textures used by Teapot and its children. The variable teapotCopy is a reference to

the cloned model.

teapotCopy = member("3D World").model("Teapot").cloneDeep("Teapot2")

Назад

 

 

Hosted by uCoz