Drag[en]gine Script Module DragonScript
1.21
|
AnimatorRule rule. More...
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... | |
AnimatorRule rule.
This is a native class. It can not be instanced directly.
void Dragengine.Scenery.AnimatorRule.addBone | ( | String | bone | ) |
Add bone.
void Dragengine.Scenery.AnimatorRule.addVertexPositionSet | ( | String | vertexPositionSet | ) |
Add vertex position set.
void Dragengine.Scenery.AnimatorRule.copyBonesFrom | ( | AnimatorRule | rule | ) |
Copy all bones from another rule.
void Dragengine.Scenery.AnimatorRule.copyVertexPositionSetsFrom | ( | AnimatorRule | rule | ) |
Copy all vertex position sets from another rule.
|
protected |
Create animator rule.
Reimplemented in Dragengine.Scenery.ARTrackTo, Dragengine.Scenery.ARSubAnimator, Dragengine.Scenery.ARStateSnapshot, Dragengine.Scenery.ARStateManipulator, Dragengine.Scenery.ARMirror, Dragengine.Scenery.ARLimit, Dragengine.Scenery.ARInverseKinematic, Dragengine.Scenery.ARGroup, Dragengine.Scenery.ARForeignState, Dragengine.Scenery.ARBoneTransformator, Dragengine.Scenery.ARAnimationSelect, Dragengine.Scenery.ARAnimationDifference, and Dragengine.Scenery.ARAnimation.
void Dragengine.Scenery.AnimatorRule.removeAllBones | ( | ) |
Remove all bones.
void Dragengine.Scenery.AnimatorRule.removeAllVertexPositionSets | ( | ) |
Remove all vertex position sets.
void Dragengine.Scenery.AnimatorRule.setBlendFactor | ( | float | blendFactor | ) |
Set blend factor clamped to the range from 0 to 1.
void Dragengine.Scenery.AnimatorRule.setBlendMode | ( | AnimatorRuleBlendMode | blendMode | ) |
Set blend mode.
EInvalidParam | blendMode is not a valid value. |
void Dragengine.Scenery.AnimatorRule.setEnabled | ( | bool | enabled | ) |
Set if rule is enabled.
void Dragengine.Scenery.AnimatorRule.setInvertBlendFactor | ( | bool | invertBlendFactor | ) |
Invert blend factor (1 - blendFactor).