|
Drag[en]gine Script Module DragonScript 1.32.1
|
Animator rule mirror. More...
Public Member Functions | |
Constructors | |
| ARMirror | new () |
| Create animator rule. | |
Management | |
| void | setMirrorAxis (ARMirrorMirrorAxis axis) |
| Set mirror axis. | |
| void | setMirrorBone (String boneName) |
| Set mirror bone. | |
| void | addMatchName (String first, String second, ARMirrorMatchNameType type) |
| Add match bone name. | |
| 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 | targetAddLink (ARMirrorTarget target, int link) |
| Add link to target. | |
| void | targetRemoveAllLinks (ARMirrorTarget 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 mirror.
This is a native class. It can not be subclassed.
| void Dragengine.Scenery.ARMirror.addMatchName | ( | String | first, |
| String | second, | ||
| ARMirrorMatchNameType | type | ||
| ) |
Add match bone name.
| EInvalidParam | first is empty string. |
| EInvalidParam | second is empty string. |
| EInvalidParam | type is not a valid value. |
| ARMirror Dragengine.Scenery.ARMirror.new | ( | ) |
Create animator rule.
Reimplemented from Dragengine.Scenery.AnimatorRule.
| void Dragengine.Scenery.ARMirror.setEnableOrientation | ( | bool | enabled | ) |
Enable orientation modification.
| void Dragengine.Scenery.ARMirror.setEnablePosition | ( | bool | enabled | ) |
Enable position modification.
| void Dragengine.Scenery.ARMirror.setEnableSize | ( | bool | enabled | ) |
Enable size modification.
| void Dragengine.Scenery.ARMirror.setEnableVertexPositionSet | ( | bool | enabled | ) |
Enable vertex position set modification.
| void Dragengine.Scenery.ARMirror.setMirrorAxis | ( | ARMirrorMirrorAxis | axis | ) |
Set mirror axis.
| EInvalidParam | axis is not a valid value. |
| void Dragengine.Scenery.ARMirror.setMirrorBone | ( | String | boneName | ) |
Set mirror bone.
| void Dragengine.Scenery.ARMirror.targetAddLink | ( | ARMirrorTarget | target, |
| int | link | ||
| ) |
Add link to target.
| EInvalidParam | target is not a valid value. |
| void Dragengine.Scenery.ARMirror.targetRemoveAllLinks | ( | ARMirrorTarget | target | ) |
Remove all links from target.
| EInvalidParam | target is not a valid value. |