pc.Morph
Contains a list of pc.MorphTarget, a combined AABB and some associated data.
Summary
Methods
| addTarget | Adds a new morph target to the list. |
| getTarget | Gets the morph target by index. |
| removeTarget | Remove the specified morph target from the list. |
Details
Constructor
Methods
addTarget(target)
Adds a new morph target to the list.
Parameters
| target | pc.MorphTarget | A new morph target. |
getTarget(index)
Gets the morph target by index.
Parameters
| index | number | An index of morph target. |
Returns
pc.MorphTargetA morph target object.
removeTarget(target)
Remove the specified morph target from the list.
Parameters
| target | pc.MorphTarget | A morph target to delete. |