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

AnimatorRule rule. More...

Inheritance diagram for AnimatorRule:
ARAnimation ARAnimationDifference ARBoneTransformator ARForeignState ARGroup ARInverseKinematic ARLimit ARStateManipulator ARStateSnapshot ARSubAnimator ARTrackTo

Public Member Functions

Management
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

Blend modes.
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...
 

Protected Member Functions

Constructors
AnimatorRule new ()
 Create animator rule. More...
 

Detailed Description

AnimatorRule rule.

This is a native class. It can not be instanced directly.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ addBone()

void addBone ( String  bone)

Add bone.

§ copyBonesFrom()

void copyBonesFrom ( AnimatorRule  rule)

Copy all bones from another rule.

§ new()

AnimatorRule new ( )
protected

Create animator rule.

§ removeAllBones()

void removeAllBones ( )

Remove all bones.

§ setBlendFactor()

void setBlendFactor ( float  blendFactor)

Set blend factor clamped to the range from 0 to 1.

§ setBlendMode()

void setBlendMode ( int  blendMode)

Set blend mode.

Exceptions
EInvalidParamblendMode is not a valid value.

§ setEnabled()

void setEnabled ( bool  enabled)

Set if rule is enabled.

Member Data Documentation

§ BLEND

final int BLEND = 0
static

Blend from the existing state over to the state produced by the rule.

§ OVERLAY

final int OVERLAY = 1
static

Overlay the existing state with to the state produced by the rule.


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