Drag[en]gine Script Module DragonScript  1.23
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. 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
 

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.

◆ debug()

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

◆ getClamp()

bool Dragengine.Animators.ADController.getClamp ( )

Controller value is clamped.

◆ getFrozen()

bool Dragengine.Animators.ADController.getFrozen ( )

Controller is frozen.

◆ getIndex()

int Dragengine.Animators.ADController.getIndex ( )

Index of controller in animator.

◆ getMaximum()

float Dragengine.Animators.ADController.getMaximum ( )

Maximum value.

◆ getMinimum()

float Dragengine.Animators.ADController.getMinimum ( )

Minimum value.

◆ getName()

String Dragengine.Animators.ADController.getName ( )

Name.

◆ getValue()

float Dragengine.Animators.ADController.getValue ( )

Value.

Version
1.21

◆ getVector()

Vector Dragengine.Animators.ADController.getVector ( )

Vector value.

◆ new() [1/2]

ADController Dragengine.Animators.ADController.new ( )

Create animation controller definition.

◆ 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.

◆ setFrozen()

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

Set if controller is frozen.

◆ setMaximum()

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

Set maximum value.

◆ setMinimum()

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

Set minimum value.

◆ setName()

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

Set name.

◆ setValue()

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

Set value.

Version
1.21

◆ setVector()

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

Set vector value.

Member Data Documentation

◆ pClamp

bool Dragengine.Animators.ADController.pClamp

◆ pFrozen

bool Dragengine.Animators.ADController.pFrozen

◆ pIndex

int Dragengine.Animators.ADController.pIndex

◆ 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

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