|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FaceUnit
A facial animation, typically with a peak-like structure. Contains a set of keys that map to 'world' time to animation time.
| Method Summary | |
|---|---|
void |
cleanup()
Clean up the face - i.e. remove traces of this faceunit |
FaceUnit |
copy(FacePlayer p)
Create a copy of this face unit and link it to the faceplayer |
TimedFaceUnit |
createTFU(BMLBlockPeg bbPeg,
String i,
String bmlId)
Creates the TimedFaceUnit corresponding to this face unit |
String |
getParameterValue(String name)
|
double |
getPreferedDuration()
|
String |
getReplacementGroup()
Get the faceunit replacement group (=typically the BML behavior) Used to determine the currently active persistent TFU for this group in the player Only one group is active at a time |
boolean |
hasValidParameters()
|
void |
play(double t)
Executes the face unit, typically by morphing the face or moving some FAPs |
void |
setParameterValue(String name,
float value)
|
void |
setParameterValue(String name,
String value)
|
| Methods inherited from interface hmi.elckerlyc.animationengine.KeyPositionManager |
|---|
addKeyPosition, getKeyPosition, getKeyPositions, removeKeyPosition, setKeyPositions |
| Method Detail |
|---|
void setParameterValue(String name,
float value)
void setParameterValue(String name,
String value)
String getParameterValue(String name)
boolean hasValidParameters()
void play(double t)
throws PlayException
t - execution time, 0 < t < 1
FUPlayException - if the play fails for some reason
PlayExceptionvoid cleanup()
TimedFaceUnit createTFU(BMLBlockPeg bbPeg,
String i,
String bmlId)
i - behaviour idbmlId - BML block id
double getPreferedDuration()
FaceUnit copy(FacePlayer p)
String getReplacementGroup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||