Drag[en]gine Script Module DragonScript Script API  1.0
ARLimit Class Reference

Animator rule limit. More...

Inheritance diagram for ARLimit:
AnimatorRule

Public Member Functions

Constructors
ARLimit new ()
 Create animator rule. More...
 
Management
void setEnablePosMin (bool enabledX, bool enabledY, bool enabledY)
 Set enable position minimum. More...
 
void setEnablePosMax (bool enabledX, bool enabledY, bool enabledY)
 Set enable position maximum. More...
 
void setEnableRotMin (bool enabledX, bool enabledY, bool enabledY)
 Set enable rotation minimum. More...
 
void setEnableRotMax (bool enabledX, bool enabledY, bool enabledY)
 Set enable rotation maximum. More...
 
void setEnableScaleMin (bool enabledX, bool enabledY, bool enabledY)
 Set enable scale minimum. More...
 
void setEnableScaleMax (bool enabledX, bool enabledY, bool enabledY)
 Set enable scale maximum. More...
 
void targetAddLink (int target, int link)
 Add link to target. More...
 
void targetRemoveAllLinks (int target)
 Remove all links from target. More...
 
- Public Member Functions inherited from AnimatorRule
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setBlendMode (int blendMode)
 Set blend mode. More...
 
void setBlendFactor (float blendFactor)
 Set blend factor clamped to the range from 0 to 1. More...
 
void addBone (String bone)
 Add bone. More...
 
void removeAllBones ()
 Remove all bones. More...
 
void copyBonesFrom (AnimatorRule rule)
 Copy all bones from another rule. More...
 

Static Public Attributes

Targets.
static final int TARGET_BLEND_FACTOR = 0
 Blend factor target. More...
 
- Static Public Attributes inherited from AnimatorRule
static final int BLEND = 0
 Blend from the existing state over to the state produced by the rule. More...
 
static final int OVERLAY = 1
 Overlay the existing state with to the state produced by the rule. More...
 

Additional Inherited Members

- Protected Member Functions inherited from AnimatorRule
AnimatorRule new ()
 Create animator rule. More...
 

Detailed Description

Animator rule limit.

This is a native class. It can not be subclassed.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ new()

ARLimit new ( )

Create animator rule.

§ setEnablePosMax()

void setEnablePosMax ( bool  enabledX,
bool  enabledY,
bool  enabledY 
)

Set enable position maximum.

§ setEnablePosMin()

void setEnablePosMin ( bool  enabledX,
bool  enabledY,
bool  enabledY 
)

Set enable position minimum.

§ setEnableRotMax()

void setEnableRotMax ( bool  enabledX,
bool  enabledY,
bool  enabledY 
)

Set enable rotation maximum.

§ setEnableRotMin()

void setEnableRotMin ( bool  enabledX,
bool  enabledY,
bool  enabledY 
)

Set enable rotation minimum.

§ setEnableScaleMax()

void setEnableScaleMax ( bool  enabledX,
bool  enabledY,
bool  enabledY 
)

Set enable scale maximum.

§ setEnableScaleMin()

void setEnableScaleMin ( bool  enabledX,
bool  enabledY,
bool  enabledY 
)

Set enable scale minimum.

§ targetAddLink()

void targetAddLink ( int  target,
int  link 
)

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

§ targetRemoveAllLinks()

void targetRemoveAllLinks ( int  target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

Member Data Documentation

§ TARGET_BLEND_FACTOR

final int TARGET_BLEND_FACTOR = 0
static

Blend factor target.


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