Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Animators.ADController Class Reference

Definition of animator controller. More...

Inheritance diagram for Dragengine.Animators.ADController:

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

Detailed Description

Definition of animator controller.

Once defined a controller can be added to an animator using the stored definition.

Member Function Documentation

◆ addToAnimator()

void Dragengine.Animators.ADController.addToAnimator ( Animator animator,
int index )

Add controller to animator using stored definition.

References pValue, and setValue().

Referenced by debug().

◆ debug()

void Dragengine.Animators.ADController.debug ( Console console,
int index )

◆ getClamp()

bool Dragengine.Animators.ADController.getClamp ( )

Controller value is clamped.

References pIndex.

Referenced by getValue().

◆ getFrozen()

bool Dragengine.Animators.ADController.getFrozen ( )

Controller is frozen.

References pClamp, pFrozen, and pMinimum.

Referenced by setMaximum().

◆ getIndex()

int Dragengine.Animators.ADController.getIndex ( )

Index of controller in animator.

Referenced by debug().

◆ getMaximum()

float Dragengine.Animators.ADController.getMaximum ( )

Maximum value.

References pName.

Referenced by setRotation().

◆ getMinimum()

float Dragengine.Animators.ADController.getMinimum ( )

Minimum value.

References getName(), and pName.

Referenced by setVector().

◆ getName()

String Dragengine.Animators.ADController.getName ( )

Name.

Referenced by getMinimum().

◆ getOrientation()

Quaternion Dragengine.Animators.ADController.getOrientation ( )

Vector as orientation.

Version
1.28

References pMaximum, and setMaximum().

Referenced by debug().

◆ getRotation()

Vector Dragengine.Animators.ADController.getRotation ( )

Vector as rotation in degrees.

Version
1.28

References pMinimum, and setMinimum().

Referenced by debug().

◆ getValue()

float Dragengine.Animators.ADController.getValue ( )

Value.

Version
1.21

References getClamp(), pFrozen, and setFrozen().

Referenced by setOrientation().

◆ getVector()

Vector Dragengine.Animators.ADController.getVector ( )

Vector value.

References pClamp, and setClamp().

Referenced by debug().

◆ new() [1/2]

ADController Dragengine.Animators.ADController.new ( )

Create animation controller definition.

References new(), pClamp, pMaximum, pName, and pVector.

Referenced by new().

◆ new() [2/2]

ADController Dragengine.Animators.ADController.new ( ADController controller)

Create copy of animation controller definition.

Version
1.13

◆ setClamp()

void Dragengine.Animators.ADController.setClamp ( bool clamp)

Set if controller value is clamped.

Referenced by getVector().

◆ setFrozen()

void Dragengine.Animators.ADController.setFrozen ( bool frozen)

Set if controller is frozen.

References pMaximum, pValue, and pVector.

Referenced by getValue().

◆ setMaximum()

void Dragengine.Animators.ADController.setMaximum ( float maximum)

Set maximum value.

References getFrozen(), and pFrozen.

Referenced by getOrientation().

◆ setMinimum()

void Dragengine.Animators.ADController.setMinimum ( float minimum)

Set minimum value.

References setName().

Referenced by getRotation().

◆ setName()

void Dragengine.Animators.ADController.setName ( String name)

Set name.

References pName.

Referenced by setMinimum().

◆ setOrientation()

void Dragengine.Animators.ADController.setOrientation ( Quaternion orientation)

Set vector from orientation.

Version
1.28

References getValue(), and pValue.

Referenced by debug().

◆ setRotation()

void Dragengine.Animators.ADController.setRotation ( Vector rotation)

Set vector from rotation in degrees.

Version
1.28

References getMaximum(), and pMaximum.

Referenced by debug().

◆ setValue()

void Dragengine.Animators.ADController.setValue ( float value)

Set value.

Version
1.21

References pClamp.

Referenced by addToAnimator().

◆ setVector()

void Dragengine.Animators.ADController.setVector ( Vector vector)

Set vector value.

References getMinimum(), and pMinimum.

Referenced by debug().

Member Data Documentation

◆ pClamp

bool Dragengine.Animators.ADController.pClamp

◆ pFrozen

bool Dragengine.Animators.ADController.pFrozen

Referenced by debug(), getFrozen(), getValue(), and setMaximum().

◆ pIndex

int Dragengine.Animators.ADController.pIndex

Referenced by debug(), and getClamp().

◆ pMaximum

float Dragengine.Animators.ADController.pMaximum

◆ pMinimum

float Dragengine.Animators.ADController.pMinimum

◆ pName

String Dragengine.Animators.ADController.pName

◆ pValue

float Dragengine.Animators.ADController.pValue

◆ pVector

Vector Dragengine.Animators.ADController.pVector

Referenced by debug(), new(), and setFrozen().


The documentation for this class was generated from the following file: