|
Drag[en]gine Script Module DragonScript 1.32.1
|
Definition of animator controller. More...
Public Member Functions | |
| void | addToAnimator (Animator animator, int index) |
| Add controller to animator using stored definition. | |
| void | debug (Console console, int index) |
| bool | getClamp () |
| Controller value is clamped. | |
| bool | getFrozen () |
| Controller is frozen. | |
| int | getIndex () |
| Index of controller in animator. | |
| float | getMaximum () |
| Maximum value. | |
| float | getMinimum () |
| Minimum value. | |
| String | getName () |
| Name. | |
| Quaternion | getOrientation () |
| Vector as orientation. | |
| Vector | getRotation () |
| Vector as rotation in degrees. | |
| float | getValue () |
| Value. | |
| Vector | getVector () |
| Vector value. | |
| ADController | new () |
| Create animation controller definition. | |
| ADController | new (ADController controller) |
| Create copy of animation controller definition. | |
| void | setClamp (bool clamp) |
| Set if controller value is clamped. | |
| void | setFrozen (bool frozen) |
| Set if controller is frozen. | |
| void | setMaximum (float maximum) |
| Set maximum value. | |
| void | setMinimum (float minimum) |
| Set minimum value. | |
| void | setName (String name) |
| Set name. | |
| void | setOrientation (Quaternion orientation) |
| Set vector from orientation. | |
| void | setRotation (Vector rotation) |
| Set vector from rotation in degrees. | |
| void | setValue (float value) |
| Set value. | |
| void | setVector (Vector vector) |
| Set vector value. | |
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.
| Quaternion Dragengine.Animators.ADController.getOrientation | ( | ) |
Vector as orientation.
| Vector Dragengine.Animators.ADController.getRotation | ( | ) |
Vector as rotation in degrees.
| 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.setOrientation | ( | Quaternion | orientation | ) |
Set vector from orientation.
| void Dragengine.Animators.ADController.setRotation | ( | Vector | rotation | ) |
Set vector from rotation in degrees.
| 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 |