|
Drag[en]gine Script Module DragonScript 1.32.1
|
Animator rule animation. More...
Public Member Functions | |
Constructors | |
| ARAnimation | 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 | setMoveName (String move) |
| Set move name relative to the move playtime. | |
| void | setMoveTime (float time) |
| Set time relative to move playtime. | |
| void | targetAddLink (ARAnimationTarget target, int link) |
| Add link to target. | |
| void | targetRemoveAllLinks (ARAnimationTarget 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 animation.
This is a native class. It can not be subclassed.
| ARAnimation Dragengine.Scenery.ARAnimation.new | ( | ) |
Create animator rule.
Reimplemented from Dragengine.Scenery.AnimatorRule.
| void Dragengine.Scenery.ARAnimation.setEnableOrientation | ( | bool | enabled | ) |
Enable orientation modification.
| void Dragengine.Scenery.ARAnimation.setEnablePosition | ( | bool | enabled | ) |
Enable position modification.
| void Dragengine.Scenery.ARAnimation.setEnableSize | ( | bool | enabled | ) |
Enable size modification.
| void Dragengine.Scenery.ARAnimation.setEnableVertexPositionSet | ( | bool | enabled | ) |
Enable vertex position set modification.
| void Dragengine.Scenery.ARAnimation.setMoveName | ( | String | move | ) |
Set move name relative to the move playtime.
| void Dragengine.Scenery.ARAnimation.setMoveTime | ( | float | time | ) |
Set time relative to move playtime.
| void Dragengine.Scenery.ARAnimation.targetAddLink | ( | ARAnimationTarget | target, |
| int | link | ||
| ) |
Add link to target.
| EInvalidParam | target is not a valid value. |
| void Dragengine.Scenery.ARAnimation.targetRemoveAllLinks | ( | ARAnimationTarget | target | ) |
Remove all links from target.
| EInvalidParam | target is not a valid value. |