public class MeshChannel extends Object implements Serializable
Pose animation data related to a single mesh. A PoseChannel consists of a
series of PoseFrame
s and their respective times.
Constructor and Description |
---|
MeshChannel(int objectIndex,
PoseFrame[] frames,
float[] times)
Creates a new MeshChannel out of given data.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
returns number of samples in this channel
|
int |
getObjectIndex()
returns the index of object in group this channel is related to.
|
float |
getTime()
returns length of this channel in seconds
|
public MeshChannel(int objectIndex, PoseFrame[] frames, float[] times)
Creates a new MeshChannel out of given data. The arrays must be same length.
objectIndex
- index of Animated3D
in AnimatedGroup
this channel is related to