Математика |
The models in a cast member are the actual visible objects that are seen in the 3D cast member. Models move according to the motions you assign to them in your 3D modeling software, and according to animation scripts that you write. Their movement results from repositioning and reorienting their geometries in 3D space.
The following cast member methods and properties can be used to perform basic model operations:
Method |
Function |
Returns |
---|---|---|
|
Returns the number of model objects included in the cast member. |
Integer. |
|
Returns the model named |
Returns the model object named |
|
Returns the model at the designated index position. The index number can change if models lower in the list are deleted. |
Returns the model object at that index number if it exists. Returns
|
|
Creates a new model named |
Returns a new model with a unique name. If the name isn’t unique, returns an error. |
|
Deletes the model named |
|
|
Deletes the model with the given index number. Script references to this model persist but can do nothing. |
|
|
Creates a copy of the model named |
Returns the model named name2. |
|
Creates a copy of the model named |
Returns the model named name2. |
cloneModelFromCast |
Copies the model named name2 (from the member named name3) into
the current member. The new copy is named name1. This is similar to the
|
Returns the model named name1. |
|