|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.loaders.discreet.KeyframeRotationBlock
public class KeyframeRotationBlock
Representation of a keyframe's collection of rotational information.
A keyframe consists of
ROTATION TRACK TAG 0xB021
short flags
short unknown[4]
short keys;
short unknown
struct {
short framenum
int unknown
float rotation in radians
float axis_x
float axis_y
float axis_z
} rotation[keys]
For this implementation, the unknown values are ignored and not stored.
| Field Summary | |
|---|---|
int |
flags
The flags associated with this rotation. |
int |
numKeys
The number of valid keys to use |
RotationData[] |
rotations
The sets of keyframe/value pairs |
| Constructor Summary | |
|---|---|
KeyframeRotationBlock()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int flags
public int numKeys
public RotationData[] rotations
| Constructor Detail |
|---|
public KeyframeRotationBlock()
|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||