Drag[en]gine Script Module DragonScript
1.21
|
Animator rule sub animator. More...
Public Member Functions | |
Constructors | |
ARSubAnimator | 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 | setEnableVertexPositionSet (bool enabled) |
Enable vertex position set modification. More... | |
void | setSubAnimator (Animator animator) |
Set sub animator or null if not set. More... | |
void | setConnectionAt (int target, int controller) |
Set connection between sub animator target and this animator instance controller. More... | |
void | setMatchingConnections (Animator animator) |
Set connections by matching controller names. More... | |
void | clearConnections () |
Clear all connections setting them to -1. More... | |
void | targetAddLink (ARSubAnimatorTarget target, int link) |
Add link to target. More... | |
void | targetRemoveAllLinks (ARSubAnimatorTarget target) |
Remove all links from target. More... | |
Public Member Functions inherited from Dragengine.Scenery.AnimatorRule | |
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... | |
Additional Inherited Members | |
Constructors |
Animator rule sub animator.
This is a native class. It can not be subclassed.
void Dragengine.Scenery.ARSubAnimator.clearConnections | ( | ) |
Clear all connections setting them to -1.
ARSubAnimator Dragengine.Scenery.ARSubAnimator.new | ( | ) |
Create animator rule.
Reimplemented from Dragengine.Scenery.AnimatorRule.
void Dragengine.Scenery.ARSubAnimator.setConnectionAt | ( | int | target, |
int | controller | ||
) |
Set connection between sub animator target and this animator instance controller.
void Dragengine.Scenery.ARSubAnimator.setEnableOrientation | ( | bool | enabled | ) |
Enable orientation modification.
void Dragengine.Scenery.ARSubAnimator.setEnablePosition | ( | bool | enabled | ) |
Enable position modification.
void Dragengine.Scenery.ARSubAnimator.setEnableSize | ( | bool | enabled | ) |
Enable size modification.
void Dragengine.Scenery.ARSubAnimator.setEnableVertexPositionSet | ( | bool | enabled | ) |
Enable vertex position set modification.
void Dragengine.Scenery.ARSubAnimator.setMatchingConnections | ( | Animator | animator | ) |
Set connections by matching controller names.
void Dragengine.Scenery.ARSubAnimator.setSubAnimator | ( | Animator | animator | ) |
Set sub animator or null if not set.
void Dragengine.Scenery.ARSubAnimator.targetAddLink | ( | ARSubAnimatorTarget | target, |
int | link | ||
) |
Add link to target.
EInvalidParam | target is not a valid value. |
void Dragengine.Scenery.ARSubAnimator.targetRemoveAllLinks | ( | ARSubAnimatorTarget | target | ) |
Remove all links from target.
EInvalidParam | target is not a valid value. |