public class TCBKeyFrame
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
bias |
float |
continuity |
float |
knot |
int |
linear |
org.jogamp.vecmath.Point3f |
position |
org.jogamp.vecmath.Quat4f |
quat |
org.jogamp.vecmath.Point3f |
scale |
float |
tension |
Constructor and Description |
---|
TCBKeyFrame(float k,
int l,
org.jogamp.vecmath.Point3f pos,
org.jogamp.vecmath.Quat4f q,
org.jogamp.vecmath.Point3f s,
float t,
float c,
float b)
Creates a key frame using the given inputs.
|
TCBKeyFrame(TCBKeyFrame kf) |
Modifier and Type | Method and Description |
---|---|
void |
debugPrint(java.lang.String tag)
Prints information comtained in this key frame
|
public org.jogamp.vecmath.Point3f position
public org.jogamp.vecmath.Quat4f quat
public org.jogamp.vecmath.Point3f scale
public float tension
public float continuity
public float bias
public float knot
public int linear
public TCBKeyFrame(TCBKeyFrame kf)
public TCBKeyFrame(float k, int l, org.jogamp.vecmath.Point3f pos, org.jogamp.vecmath.Quat4f q, org.jogamp.vecmath.Point3f s, float t, float c, float b)
k
- knot value for this key framel
- the linear flag (0 - Spline Interp, 1, Linear Interppos
- the position at the key frameq
- the rotations at the key frames
- the scales at the key framet
- tension (-1.0 < t < 1.0)c
- continuity (-1.0 < c < 1.0)b
- bias (-1.0 < b < 1.0)