|
Drag[en]gine Script Module DragonScript 1.32.1
|
Animator rule sub animator. More...
Public Member Functions | |
Constructors | |
| ARSubAnimator | new () |
| Create animator rule. | |
Management | |
| void | setEnablePosition (bool enabled) |
| Enable position modification. | |
| void | setEnableOrientation (bool enabled) |
| Enable orientation modification. | |
| void | setEnableSize (bool enabled) |
| Enable size modification. | |
| void | setEnableVertexPositionSet (bool enabled) |
| Enable vertex position set modification. | |
| void | setSubAnimator (Animator animator) |
| Set sub animator or null if not set. | |
| void | setConnectionAt (int target, int controller) |
| Set connection between sub animator target and this animator instance controller. | |
| void | setMatchingConnections (Animator animator) |
| Set connections by matching controller names. | |
| void | clearConnections () |
| Clear all connections setting them to -1. | |
| void | targetAddLink (ARSubAnimatorTarget target, int link) |
| Add link to target. | |
| void | targetRemoveAllLinks (ARSubAnimatorTarget target) |
| Remove all links from target. | |
Public Member Functions inherited from Dragengine.Scenery.AnimatorRule | |
| void | setEnabled (bool enabled) |
| Set if rule is enabled. | |
| void | setBlendMode (AnimatorRuleBlendMode blendMode) |
| Set blend mode. | |
| void | setBlendFactor (float blendFactor) |
| Set blend factor clamped to the range from 0 to 1. | |
| void | setInvertBlendFactor (bool invertBlendFactor) |
| Invert blend factor (1 - blendFactor). | |
| void | addBone (String bone) |
| Add bone. | |
| void | removeAllBones () |
| Remove all bones. | |
| void | copyBonesFrom (AnimatorRule rule) |
| Copy all bones from another rule. | |
| void | addVertexPositionSet (String vertexPositionSet) |
| Add vertex position set. | |
| void | removeAllVertexPositionSets () |
| Remove all vertex position sets. | |
| void | copyVertexPositionSetsFrom (AnimatorRule rule) |
| Copy all vertex position sets from another rule. | |
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. |