Drag[en]gine Script Module DragonScript
1.23
|
Definition of animator controller. More...
Public Member Functions | |
void | addToAnimator (Animator animator, int index) |
Add controller to animator using stored definition. More... | |
void | debug (Console console, int index) |
bool | getClamp () |
Controller value is clamped. More... | |
bool | getFrozen () |
Controller is frozen. More... | |
int | getIndex () |
Index of controller in animator. More... | |
float | getMaximum () |
Maximum value. More... | |
float | getMinimum () |
Minimum value. More... | |
String | getName () |
Name. More... | |
float | getValue () |
Value. More... | |
Vector | getVector () |
Vector value. More... | |
ADController | new () |
Create animation controller definition. More... | |
ADController | new (ADController controller) |
Create copy of animation controller definition. More... | |
void | setClamp (bool clamp) |
Set if controller value is clamped. More... | |
void | setFrozen (bool frozen) |
Set if controller is frozen. More... | |
void | setMaximum (float maximum) |
Set maximum value. More... | |
void | setMinimum (float minimum) |
Set minimum value. More... | |
void | setName (String name) |
Set name. More... | |
void | setValue (float value) |
Set value. More... | |
void | setVector (Vector vector) |
Set vector value. More... | |
Public Attributes | |
bool | pClamp |
bool | pFrozen |
int | pIndex |
float | pMaximum |
float | pMinimum |
String | pName |
float | pValue |
Vector | pVector |
Definition of animator controller.
Once defined a controller can be added to an animator using the stored definition.
void Dragengine.Animators.ADController.addToAnimator | ( | Animator | animator, |
int | index | ||
) |
Add controller to animator using stored definition.
void Dragengine.Animators.ADController.debug | ( | Console | console, |
int | index | ||
) |
bool Dragengine.Animators.ADController.getClamp | ( | ) |
Controller value is clamped.
bool Dragengine.Animators.ADController.getFrozen | ( | ) |
Controller is frozen.
int Dragengine.Animators.ADController.getIndex | ( | ) |
Index of controller in animator.
float Dragengine.Animators.ADController.getMaximum | ( | ) |
Maximum value.
float Dragengine.Animators.ADController.getMinimum | ( | ) |
Minimum value.
String Dragengine.Animators.ADController.getName | ( | ) |
Name.
float Dragengine.Animators.ADController.getValue | ( | ) |
Value.
Vector Dragengine.Animators.ADController.getVector | ( | ) |
Vector value.
ADController Dragengine.Animators.ADController.new | ( | ) |
Create animation controller definition.
ADController Dragengine.Animators.ADController.new | ( | ADController | controller | ) |
Create copy of animation controller definition.
void Dragengine.Animators.ADController.setClamp | ( | bool | clamp | ) |
Set if controller value is clamped.
void Dragengine.Animators.ADController.setFrozen | ( | bool | frozen | ) |
Set if controller is frozen.
void Dragengine.Animators.ADController.setMaximum | ( | float | maximum | ) |
Set maximum value.
void Dragengine.Animators.ADController.setMinimum | ( | float | minimum | ) |
Set minimum value.
void Dragengine.Animators.ADController.setName | ( | String | name | ) |
Set name.
void Dragengine.Animators.ADController.setValue | ( | float | value | ) |
Set value.
void Dragengine.Animators.ADController.setVector | ( | Vector | vector | ) |
Set vector value.
bool Dragengine.Animators.ADController.pClamp |
bool Dragengine.Animators.ADController.pFrozen |
int Dragengine.Animators.ADController.pIndex |
float Dragengine.Animators.ADController.pMaximum |
float Dragengine.Animators.ADController.pMinimum |
String Dragengine.Animators.ADController.pName |
float Dragengine.Animators.ADController.pValue |
Vector Dragengine.Animators.ADController.pVector |