public class SkinData extends Object implements Serializable
Skin contains information how a Animated3D
is deformed with respect to SkeletonPose
.
This class is adapted from Ardor3D.
Constructor and Description |
---|
SkinData(float[][] weights,
short[][] jointIndices)
Creates a new SkinData out of given information.
|
Modifier and Type | Method and Description |
---|---|
SkinData |
clone()
Returns a deep copy of this SkinData.
|
short[][] |
getJointIndices()
Returns a copy of joint indices array.
|
float[][] |
getWeights()
Returns a copy of weights array.
|
public SkinData(float[][] weights, short[][] jointIndices)
Creates a new SkinData out of given information. The arrays are copied.
weights
- how much each vertex in mesh is effected by corresponding skeleton jointsjointIndices
- which joints effect which vertices