Package | Description |
---|---|
cas |
Provides classes defining CAS (Character Animation Stream) data objects.
|
jarp |
Provides the main Java ARP classes, that is, the classes defining
the avatar's skeleton, mesh, morphs, camera control, and JOGL
rendering canvas.
|
Modifier and Type | Method and Description |
---|---|
CASTRSet |
CASFrame.getTRSet(int bone4cc)
Returns this frame's TR-set of the given name, if it has one,
or
null otherwise. |
CASTRSet[] |
CASFrame.getTRSets()
Gets the TR-Set (bones) array for this frame.
|
Modifier and Type | Method and Description |
---|---|
void |
CASFrame.copy(float time,
float dur,
CASTRSet[] bones,
CASMorph[] morphvec)
Completely redefines this frame by creating its own copies
of all the given data.
|
void |
CASTRSet.set(CASTRSet trs)
Sets this TR-Set to be a copy the given one.
|
void |
CASFrame.set(float time,
float dur,
CASTRSet[] bones,
CASMorph[] morphs)
Completely redefines this frame by attaching the given
data to it (that is, the array references are copied, not
the arrays themselves).
|
Constructor and Description |
---|
CASFrame(CASTRSet[] bones,
CASMorph[] morphs)
Constructs a frame using the given arrays.
|
CASFrame(float time,
CASTRSet[] bones,
CASMorph[] morphs)
Constructs a frame using the given time-stamp and data arrays.
|
CASFrame(float time,
float dur,
CASTRSet[] bones,
CASMorph[] morphs)
Constructs a frame using the given time-stamp, duration, and
data arrays.
|
CASTRSet(CASTRSet trs)
Constructs a new TR-Set, copied from the given one.
|
Modifier and Type | Method and Description |
---|---|
void |
Bone.assignNewTRData(CASTRSet newtrs)
Update this bone's TR-Set data (relative to its parent)
-- ignoring the translation, i.e.
|
void |
Bone.assignNewTRData(CASTRSet newtrs,
float scale)
Update this bone's TR-Set data (relative to its parent),
applying the given scale factor to its translation.
|
void |
Skeleton.setBones(CASTRSet[] trsets)
Sets the bones' TR-set data from the given TR-sets.
|
void |
Skeleton.setBones(CASTRSet[] trsets,
float scale)
Sets the bones' TR-sets from those given, with the given scaling
(applied to the root translation only).
|