Drag[en]gine Script Module DragonScript
1.23
|
Animator rule bone transformator. More...
Public Member Functions | |
Constructors | |
ARBoneTransformator | 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 | setMinimumTranslation (Vector translation) |
Set minimum translation value. More... | |
void | setMaximumTranslation (Vector translation) |
Set maximum translation value. More... | |
void | setMinimumRotation (Vector rotation) |
Set minimum rotation value. More... | |
void | setMaximumRotation (Vector rotation) |
Set maximum rotation value. More... | |
void | setMinimumScaling (Vector scaling) |
Set minimum scaleing value. More... | |
void | setMaximumScaling (Vector scaling) |
Set maximum scaling value. More... | |
void | setAxis (Vector axis) |
Set rotation axis. More... | |
void | setMinimumAngle (float angle) |
Set minimum axis rotation angle. More... | |
void | setMaximumAngle (float angle) |
Set maximum axis rotation angle. More... | |
void | setUseAxis (bool useAxis) |
Use rotation axis instead of rotation directly. More... | |
void | setCoordinateFrame (ARBoneTransformatorCFrame coordinateFrame) |
Set coordinate frame. More... | |
void | setTargetBone (String bone) |
Set target bone or empty string if not set. More... | |
void | targetAddLink (ARBoneTransformatorTarget target, int link) |
Add link to target. More... | |
void | targetRemoveAllLinks (ARBoneTransformatorTarget 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 bone transformator.
This is a native class. It can not be subclassed.
ARBoneTransformator Dragengine.Scenery.ARBoneTransformator.new | ( | ) |
Create animator rule.
Reimplemented from Dragengine.Scenery.AnimatorRule.
void Dragengine.Scenery.ARBoneTransformator.setAxis | ( | Vector | axis | ) |
Set rotation axis.
void Dragengine.Scenery.ARBoneTransformator.setCoordinateFrame | ( | ARBoneTransformatorCFrame | coordinateFrame | ) |
Set coordinate frame.
EInvalidParam | coordinateFrame is an invalid value. |
void Dragengine.Scenery.ARBoneTransformator.setEnableOrientation | ( | bool | enabled | ) |
Enable orientation modification.
void Dragengine.Scenery.ARBoneTransformator.setEnablePosition | ( | bool | enabled | ) |
Enable position modification.
void Dragengine.Scenery.ARBoneTransformator.setEnableSize | ( | bool | enabled | ) |
Enable size modification.
void Dragengine.Scenery.ARBoneTransformator.setMaximumAngle | ( | float | angle | ) |
Set maximum axis rotation angle.
void Dragengine.Scenery.ARBoneTransformator.setMaximumRotation | ( | Vector | rotation | ) |
Set maximum rotation value.
void Dragengine.Scenery.ARBoneTransformator.setMaximumScaling | ( | Vector | scaling | ) |
Set maximum scaling value.
void Dragengine.Scenery.ARBoneTransformator.setMaximumTranslation | ( | Vector | translation | ) |
Set maximum translation value.
void Dragengine.Scenery.ARBoneTransformator.setMinimumAngle | ( | float | angle | ) |
Set minimum axis rotation angle.
void Dragengine.Scenery.ARBoneTransformator.setMinimumRotation | ( | Vector | rotation | ) |
Set minimum rotation value.
void Dragengine.Scenery.ARBoneTransformator.setMinimumScaling | ( | Vector | scaling | ) |
Set minimum scaleing value.
void Dragengine.Scenery.ARBoneTransformator.setMinimumTranslation | ( | Vector | translation | ) |
Set minimum translation value.
void Dragengine.Scenery.ARBoneTransformator.setTargetBone | ( | String | bone | ) |
Set target bone or empty string if not set.
void Dragengine.Scenery.ARBoneTransformator.setUseAxis | ( | bool | useAxis | ) |
Use rotation axis instead of rotation directly.
void Dragengine.Scenery.ARBoneTransformator.targetAddLink | ( | ARBoneTransformatorTarget | target, |
int | link | ||
) |
Add link to target.
EInvalidParam | target is not a valid value. |
void Dragengine.Scenery.ARBoneTransformator.targetRemoveAllLinks | ( | ARBoneTransformatorTarget | target | ) |
Remove all links from target.
EInvalidParam | target is not a valid value. |