Drag[en]gine Script Module DragonScript  1.7
Dragengine.Scenery.AnimatorRule Class Reference

AnimatorRule rule. More...

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

Public Member Functions

Management
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setBlendMode (AnimatorRuleBlendMode 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...
 

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.

Member Function Documentation

◆ addBone()

void Dragengine.Scenery.AnimatorRule.addBone ( String  bone)

Add bone.

◆ copyBonesFrom()

void Dragengine.Scenery.AnimatorRule.copyBonesFrom ( AnimatorRule  rule)

Copy all bones from another rule.

◆ new()

◆ removeAllBones()

void Dragengine.Scenery.AnimatorRule.removeAllBones ( )

Remove all bones.

◆ setBlendFactor()

void Dragengine.Scenery.AnimatorRule.setBlendFactor ( float  blendFactor)

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

◆ setBlendMode()

void Dragengine.Scenery.AnimatorRule.setBlendMode ( AnimatorRuleBlendMode  blendMode)

Set blend mode.

Exceptions
EInvalidParamblendMode is not a valid value.

◆ setEnabled()

void Dragengine.Scenery.AnimatorRule.setEnabled ( bool  enabled)

Set if rule is enabled.


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