public interface MorphingSystem
MorphComponent.
This interface is used to set and obtain the name list and weight list of morphing targets.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getTargetCount(long handle) |
Obtains the number of morphing targets in a specified handle.
|
String[] |
getTargetNames(long handle) |
Obtains the names of morphing targets in a specified handle.
|
float[] |
getTargetWeights(long handle) |
Obtains the weights of morphing targets in a specified handle.
|
void |
setTargetNames(long handle,
String[] names) |
Sets the names of morphing targets in a specified handle.
|
void |
setTargetWeights(long handle,
float[] weights) |
Sets the weights of morphing targets in a specified handle.
|
int getTargetCount(long handle)
handle - Indicates the index of the specified handle.String[] getTargetNames(long handle)
handle - Indicates the index of the specified handle.float[] getTargetWeights(long handle)
handle - Indicates the index of the specified handle.void setTargetNames(long handle,
String[] names)
handle - Indicates the index of the specified handle.names - Indicates the name list of morphing targets.void setTargetWeights(long handle,
float[] weights)
handle - Indicates the index of the specified handle.weights - Indicates the weight list of morphing targets.