Class: Morph

pc.Morph

Contains a list of pc.MorphTarget, a combined AABB and some associated data.

Constructor

(private) new Morph(targets)

Parameters:
Name Type Description
targets Array.<pc.MoprhTarget> A list of morph targets
Source:

Methods

(private) addTarget(target)

Adds a new morph target to the list
Parameters:
Name Type Description
target pc.MoprhTarget A new morph target
Source:

(private) getTarget(index) → {pc.MorphTarget}

Gets the morph target by index
Parameters:
Name Type Description
index Number An index of morph target.
Source:
Returns:
A morph target object
Type
pc.MorphTarget

(private) removeTarget(target)

Remove the specified morph target from the list
Parameters:
Name Type Description
target pc.MoprhTarget A morph target to delete
Source: