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

Animator rule animation difference. More...

Inheritance diagram for ARAnimationDifference:
AnimatorRule

Public Member Functions

Constructors
ARAnimationDifference new ()
 Create animator rule. More...
 
Management
void setEnablePosition (bool enabled)
 Enable position modification. More...
 
void setEnableOrientation (bool enabled)
 Enable orientation modification. More...
 
void setEnableSize (bool enabled)
 Enable size modification. More...
 
void setLeadingMoveName (String move)
 Set leading move name. More...
 
void setLeadingMoveTime (float time)
 Set leading move time in seconds. More...
 
void setReferenceMoveName (String move)
 Set reference move name. More...
 
void setReferenceMoveTime (float time)
 Set reference move time in seconds. 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 final int TARGET_LEADING_MOVE_TIME = 1
 Leading move time target. More...
 
static final int TARGET_REFERENCE_MOVE_TIME = 2
 Reference move time 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 animation difference.

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

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ new()

Create animator rule.

§ setEnableOrientation()

void setEnableOrientation ( bool  enabled)

Enable orientation modification.

§ setEnablePosition()

void setEnablePosition ( bool  enabled)

Enable position modification.

§ setEnableSize()

void setEnableSize ( bool  enabled)

Enable size modification.

§ setLeadingMoveName()

void setLeadingMoveName ( String  move)

Set leading move name.

§ setLeadingMoveTime()

void setLeadingMoveTime ( float  time)

Set leading move time in seconds.

§ setReferenceMoveName()

void setReferenceMoveName ( String  move)

Set reference move name.

§ setReferenceMoveTime()

void setReferenceMoveTime ( float  time)

Set reference move time in seconds.

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

§ TARGET_LEADING_MOVE_TIME

final int TARGET_LEADING_MOVE_TIME = 1
static

Leading move time target.

§ TARGET_REFERENCE_MOVE_TIME

final int TARGET_REFERENCE_MOVE_TIME = 2
static

Reference move time target.


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