|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Gesture
This interface represents an object which can be used to represent a predefined gesture for an Actor.
Method Summary | |
---|---|
Gesture |
blend(Gesture[] p,
double[] weight)
Return a new gesture which is the weighted average of an arbitrary list of gestures. |
Skeleton |
getSkeleton()
Get the skeleton for this gesture (or null if it doesn't have one). |
ParameterValue |
getTextureParameter(TextureParameter param)
Get the value of a per-vertex texture parameter. |
void |
setSkeleton(Skeleton s)
Set the skeleton for this gesture. |
void |
setTextureParameter(TextureParameter param,
ParameterValue value)
Set the value of a per-vertex texture parameter. |
void |
textureChanged(TextureParameter[] oldParams,
TextureParameter[] newParams)
Update the texture parameter values when the texture is changed. |
Methods inherited from interface artofillusion.animation.Keyframe |
---|
blend, blend, blend, duplicate, duplicate, equals, getGraphValues, setGraphValues, writeToStream |
Method Detail |
---|
Gesture blend(Gesture[] p, double[] weight)
result = this + sum(weight[i]*(p[i]-this))
Skeleton getSkeleton()
void setSkeleton(Skeleton s)
void textureChanged(TextureParameter[] oldParams, TextureParameter[] newParams)
ParameterValue getTextureParameter(TextureParameter param)
void setTextureParameter(TextureParameter param, ParameterValue value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |