Drag[en]gine Script Module DragonScript
1.23
|
Definition of an animator link. More...
Public Member Functions | |
void | addToAnimator (Animator animator) |
Add link to animator using the stored definition. More... | |
void | debug (Console console, int index) |
String | getBone () |
Bone to use parameter of as input or empty string to not use. More... | |
float | getBoneMaximum () |
Maximum bone parameter value. More... | |
float | getBoneMinimum () |
Minimum bone parameter value. More... | |
AnimatorLinkBoneParameter | getBoneParameter () |
Bone parameter to use as input. More... | |
ADController | getController () |
Controller or null if not set. More... | |
CurveBezier | getCurve () |
Curve. More... | |
int | getIndex () |
Index of link in animator. More... | |
int | getRepeat () |
Repeat count along X axis. More... | |
String | getVertexPositionSet () |
Vertex position set to use as input or empty string to not use. More... | |
float | getVertexPositionSetMaximum () |
Maximum vertex position set value. More... | |
float | getVertexPositionSetMinimum () |
Minimum vertex position set value. More... | |
bool | getWrapY () |
Wrap Y value instead of clamping. More... | |
ADLink | new () |
Create link definition. More... | |
ADLink | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADLink link) |
Create copy of link definition. More... | |
void | setBone (String bone) |
Set bone to use parameter of as input or empty string to not use. More... | |
void | setBoneMaximum (float value) |
Set maximum bone parameter value. More... | |
void | setBoneMinimum (float value) |
Set minimum bone parameter value. More... | |
void | setBoneParameter (AnimatorLinkBoneParameter parameter) |
Set bone parameter to use as input. More... | |
void | setController (ADController controller) |
Set controller or null if not set. More... | |
void | setCurve (CurveBezier curve) |
Set curve. More... | |
void | setRepeat (int repeat) |
Set repeat along X axis. More... | |
void | setVertexPositionSet (String vertexPositionSet) |
Set vertex position set to use as input or empty string to not use. More... | |
void | setVertexPositionSetMaximum (float value) |
Set maximum vertex position set value. More... | |
void | setVertexPositionSetMinimum (float value) |
Set minimum vertex position set value. More... | |
void | setWrapY (bool wrap) |
Set to wrap Y value instead of clamping. More... | |
Definition of an animator link.
Once defined a link can be added to an animator using the stored definition.
void Dragengine.Animators.ADLink.addToAnimator | ( | Animator | animator | ) |
Add link to animator using the stored definition.
void Dragengine.Animators.ADLink.debug | ( | Console | console, |
int | index | ||
) |
String Dragengine.Animators.ADLink.getBone | ( | ) |
Bone to use parameter of as input or empty string to not use.
float Dragengine.Animators.ADLink.getBoneMaximum | ( | ) |
Maximum bone parameter value.
float Dragengine.Animators.ADLink.getBoneMinimum | ( | ) |
Minimum bone parameter value.
AnimatorLinkBoneParameter Dragengine.Animators.ADLink.getBoneParameter | ( | ) |
Bone parameter to use as input.
ADController Dragengine.Animators.ADLink.getController | ( | ) |
Controller or null if not set.
CurveBezier Dragengine.Animators.ADLink.getCurve | ( | ) |
Curve.
int Dragengine.Animators.ADLink.getIndex | ( | ) |
Index of link in animator.
int Dragengine.Animators.ADLink.getRepeat | ( | ) |
Repeat count along X axis.
String Dragengine.Animators.ADLink.getVertexPositionSet | ( | ) |
Vertex position set to use as input or empty string to not use.
float Dragengine.Animators.ADLink.getVertexPositionSetMaximum | ( | ) |
Maximum vertex position set value.
float Dragengine.Animators.ADLink.getVertexPositionSetMinimum | ( | ) |
Minimum vertex position set value.
bool Dragengine.Animators.ADLink.getWrapY | ( | ) |
Wrap Y value instead of clamping.
ADLink Dragengine.Animators.ADLink.new | ( | ) |
Create link definition.
ADLink Dragengine.Animators.ADLink.new | ( | AnimatorDefinition | fromDef, |
AnimatorDefinition | toDef, | ||
ADLink | link | ||
) |
Create copy of link definition.
void Dragengine.Animators.ADLink.setBone | ( | String | bone | ) |
Set bone to use parameter of as input or empty string to not use.
void Dragengine.Animators.ADLink.setBoneMaximum | ( | float | value | ) |
Set maximum bone parameter value.
void Dragengine.Animators.ADLink.setBoneMinimum | ( | float | value | ) |
Set minimum bone parameter value.
void Dragengine.Animators.ADLink.setBoneParameter | ( | AnimatorLinkBoneParameter | parameter | ) |
Set bone parameter to use as input.
void Dragengine.Animators.ADLink.setController | ( | ADController | controller | ) |
Set controller or null if not set.
void Dragengine.Animators.ADLink.setCurve | ( | CurveBezier | curve | ) |
Set curve.
void Dragengine.Animators.ADLink.setRepeat | ( | int | repeat | ) |
Set repeat along X axis.
void Dragengine.Animators.ADLink.setVertexPositionSet | ( | String | vertexPositionSet | ) |
Set vertex position set to use as input or empty string to not use.
void Dragengine.Animators.ADLink.setVertexPositionSetMaximum | ( | float | value | ) |
Set maximum vertex position set value.
void Dragengine.Animators.ADLink.setVertexPositionSetMinimum | ( | float | value | ) |
Set minimum vertex position set value.
void Dragengine.Animators.ADLink.setWrapY | ( | bool | wrap | ) |
Set to wrap Y value instead of clamping.