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

Definition of an animator link. More...

Inheritance diagram for Dragengine.Animators.ADLink:

Public Member Functions

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

Detailed Description

Definition of an animator link.

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

Member Function Documentation

◆ addToAnimator()

void Dragengine.Animators.ADLink.addToAnimator ( Animator animator)

Add link to animator using the stored definition.

Referenced by debug().

◆ debug()

◆ getBone()

String Dragengine.Animators.ADLink.getBone ( )

Bone to use parameter of as input or empty string to not use.

Version
1.6

Referenced by getVertexPositionSet().

◆ getBoneMaximum()

float Dragengine.Animators.ADLink.getBoneMaximum ( )

Maximum bone parameter value.

Version
1.6

References getRepeat().

Referenced by debug().

◆ getBoneMinimum()

float Dragengine.Animators.ADLink.getBoneMinimum ( )

Minimum bone parameter value.

Version
1.6

References getCurve().

Referenced by getWrapY().

◆ getBoneParameter()

AnimatorLinkBoneParameter Dragengine.Animators.ADLink.getBoneParameter ( )

Bone parameter to use as input.

Version
1.6

References getController().

Referenced by setVertexPositionSetMinimum().

◆ getController()

ADController Dragengine.Animators.ADLink.getController ( )

Controller or null if not set.

Referenced by getBoneParameter().

◆ getCurve()

CurveBezier Dragengine.Animators.ADLink.getCurve ( )

Curve.

Referenced by getBoneMinimum().

◆ getIndex()

int Dragengine.Animators.ADLink.getIndex ( )

Index of link in animator.

References setBoneMinimum().

Referenced by debug().

◆ getRepeat()

int Dragengine.Animators.ADLink.getRepeat ( )

Repeat count along X axis.

Referenced by getBoneMaximum().

◆ getVertexPositionSet()

String Dragengine.Animators.ADLink.getVertexPositionSet ( )

Vertex position set to use as input or empty string to not use.

Version
1.17

References getBone().

Referenced by debug().

◆ getVertexPositionSetMaximum()

float Dragengine.Animators.ADLink.getVertexPositionSetMaximum ( )

Maximum vertex position set value.

Version
1.17

References setBoneParameter().

Referenced by debug().

◆ getVertexPositionSetMinimum()

float Dragengine.Animators.ADLink.getVertexPositionSetMinimum ( )

Minimum vertex position set value.

Version
1.17

Referenced by debug().

◆ getWrapY()

bool Dragengine.Animators.ADLink.getWrapY ( )

Wrap Y value instead of clamping.

Version
1.9

References getBoneMinimum().

Referenced by debug().

◆ new() [1/2]

ADLink Dragengine.Animators.ADLink.new ( )

Create link definition.

References new().

Referenced by new().

◆ new() [2/2]

ADLink Dragengine.Animators.ADLink.new ( AnimatorDefinition fromDef,
AnimatorDefinition toDef,
ADLink link )

Create copy of link definition.

Version
1.13

◆ setBone()

void Dragengine.Animators.ADLink.setBone ( String bone)

Set bone to use parameter of as input or empty string to not use.

Version
1.6

Referenced by setVertexPositionSet().

◆ setBoneMaximum()

void Dragengine.Animators.ADLink.setBoneMaximum ( float value)

Set maximum bone parameter value.

Version
1.6

References setRepeat().

Referenced by debug().

◆ setBoneMinimum()

void Dragengine.Animators.ADLink.setBoneMinimum ( float value)

Set minimum bone parameter value.

Version
1.6

References setCurve().

Referenced by getIndex().

◆ setBoneParameter()

void Dragengine.Animators.ADLink.setBoneParameter ( AnimatorLinkBoneParameter parameter)

Set bone parameter to use as input.

Version
1.6

References setController().

Referenced by getVertexPositionSetMaximum().

◆ setController()

void Dragengine.Animators.ADLink.setController ( ADController controller)

Set controller or null if not set.

Referenced by setBoneParameter().

◆ setCurve()

void Dragengine.Animators.ADLink.setCurve ( CurveBezier curve)

Set curve.

Referenced by setBoneMinimum().

◆ setRepeat()

void Dragengine.Animators.ADLink.setRepeat ( int repeat)

Set repeat along X axis.

Referenced by setBoneMaximum().

◆ setVertexPositionSet()

void Dragengine.Animators.ADLink.setVertexPositionSet ( String vertexPositionSet)

Set vertex position set to use as input or empty string to not use.

Version
1.17

References setBone().

Referenced by debug().

◆ setVertexPositionSetMaximum()

void Dragengine.Animators.ADLink.setVertexPositionSetMaximum ( float value)

Set maximum vertex position set value.

Version
1.17

Referenced by debug().

◆ setVertexPositionSetMinimum()

void Dragengine.Animators.ADLink.setVertexPositionSetMinimum ( float value)

Set minimum vertex position set value.

Version
1.17

References getBoneParameter().

Referenced by debug().

◆ setWrapY()

void Dragengine.Animators.ADLink.setWrapY ( bool wrap)

Set to wrap Y value instead of clamping.

Version
1.9

Referenced by debug().


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