Drag[en]gine Script Module DragonScript  1.23
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.ARMirror 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 setInvertBlendFactor (bool invertBlendFactor)
 Invert blend factor (1 - blendFactor). 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...
 
void addVertexPositionSet (String vertexPositionSet)
 Add vertex position set. More...
 
void removeAllVertexPositionSets ()
 Remove all vertex position sets. More...
 
void copyVertexPositionSetsFrom (AnimatorRule rule)
 Copy all vertex position sets 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.

◆ addVertexPositionSet()

void Dragengine.Scenery.AnimatorRule.addVertexPositionSet ( String  vertexPositionSet)

Add vertex position set.

Version
1.17

◆ copyBonesFrom()

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

Copy all bones from another rule.

◆ copyVertexPositionSetsFrom()

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

Copy all vertex position sets from another rule.

Version
1.17

◆ new()

◆ removeAllBones()

void Dragengine.Scenery.AnimatorRule.removeAllBones ( )

Remove all bones.

◆ removeAllVertexPositionSets()

void Dragengine.Scenery.AnimatorRule.removeAllVertexPositionSets ( )

Remove all vertex position sets.

Version
1.17

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

◆ setInvertBlendFactor()

void Dragengine.Scenery.AnimatorRule.setInvertBlendFactor ( bool  invertBlendFactor)

Invert blend factor (1 - blendFactor).

Version
1.13

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