|
Drag[en]gine Script Module DragonScript 1.35
|
Definition of foreign state animator rule. More...
Public Member Functions | |
| AnimatorRule | buildRule (Animator animator) |
| Build engine animator rule using the stored definition. | |
| void | debug (Console console) |
| ARForeignStateCFrame | getDestinationCoordinateFrame () |
| Destination coordinate frame. | |
| bool | getEnableOrientation () |
| Orientation manipulation is enabled. | |
| bool | getEnablePosition () |
| Position manipulation is enabled. | |
| bool | getEnableSize () |
| Size manipulation is enabled. | |
| bool | getEnableVertexPositionSet () |
| Vertex position set manipulation is enabled. | |
| String | getForeignBone () |
| Foreign bone name. | |
| String | getForeignVertexPositionSet () |
| Foreign vertex position set name. | |
| bool | getModifyX () |
| X component is modified. | |
| bool | getModifyY () |
| Y component is modified. | |
| bool | getModifyZ () |
| Z component is modified. | |
| float | getScaleOrientation () |
| Orientation scale factor. | |
| float | getScalePosition () |
| Pposition scale factor. | |
| float | getScaleSize () |
| Size scale factor. | |
| float | getScaleVertexPositionSet () |
| Vertex position set scale factor. | |
| ARForeignStateCFrame | getSourceCoordinateFrame () |
| Source coordinate frame. | |
| ADRuleForeignState | new () |
| Create animation rule definition. | |
| ADRuleForeignState | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRuleForeignState rule) |
| Create copy of animation rule definition. | |
| void | setDestinationCoordinateFrame (ARForeignStateCFrame coordFrame) |
| Set if destination coordinate frame. | |
| void | setEnableOrientation (bool enable) |
| Set if orientation manipulation is enabled. | |
| void | setEnablePosition (bool enable) |
| Set if position manipulation is enabled. | |
| void | setEnableSize (bool enable) |
| Set if size manipulation is enabled. | |
| void | setEnableVertexPositionSet (bool enable) |
| Set if vertex position set manipulation is enabled. | |
| void | setForeignBone (String bone) |
| Set foreign bone name. | |
| void | setForeignVertexPositionSet (String vertexPositionSet) |
| Set foreign vertex position set name. | |
| void | setModifyX (bool modify) |
| Set if X component is modified. | |
| void | setModifyY (bool modify) |
| Set if Y component is modified. | |
| void | setModifyZ (bool modify) |
| Set if z component is modified. | |
| void | setScaleOrientation (float scaleFactor) |
| Set orientation scale factor. | |
| void | setScalePosition (float scaleFactor) |
| Set position scale factor. | |
| void | setScaleSize (float scaleFactor) |
| Set size scale factor. | |
| void | setScaleVertexPositionSet (float scale) |
| Set vertex position set scale factor. | |
| void | setSourceCoordinateFrame (ARForeignStateCFrame coordFrame) |
| Set if source coordinate frame. | |
| Public Member Functions inherited from Dragengine.Animators.ADRule | |
| void | addBone (String bone) |
| Add bone. | |
| void | addTargetLink (ADRuleTargetLink targetLink) |
| Add target link. | |
| void | addVertexPositionSet (String vertexPositionSet) |
| Add vertex position set. | |
| void | forEachTarget (Block ablock) |
| Visit target links with a block. | |
| float | getBlendFactor () |
| Blend factor. | |
| AnimatorRuleBlendMode | getBlendMode () |
| Blend mode. | |
| String | getBoneAt (int index) |
| Bone at index. | |
| int | getBoneCount () |
| Count of bones. | |
| bool | getEnabled () |
| Rule is enabled. | |
| bool | getInvertBlendFactor () |
| Invert blend factor (1 - blendFactor). | |
| ADRuleTargetLink | getTargetLinkAt (int index) |
| Target link at index. | |
| int | getTargetLinkCount () |
| Count of target links. | |
| String | getVertexPositionSetAt (int index) |
| Vertex position set at index. | |
| int | getVertexPositionSetCount () |
| Count of vertex position sets. | |
| void | removeAllTargetLinks () |
| Remove all target links. | |
| void | setBlendFactor (float factor) |
| Set blend factor. | |
| void | setBlendMode (AnimatorRuleBlendMode mode) |
| Set blend mode. | |
| void | setEnabled (bool enabled) |
| Set if rule is enabled. | |
| void | setInvertBlendFactor (bool invertBlendFactor) |
| Set invert blend factor (1 - blendFactor). | |
| void | setName (String name) |
| Set name of rule. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Dragengine.Animators.ADRule | |
| String | debugCommon (String type) |
| ADRule | new (AnimatorDefinition fromDef, AnimatorDefinition toDef, ADRule rule) |
| Create copy of animation rule definition. | |
Definition of foreign state animator rule.
Once defined a rule can be added to an animator using the stored definition.
| AnimatorRule Dragengine.Animators.ADRuleForeignState.buildRule | ( | Animator | animator | ) |
Build engine animator rule using the stored definition.
Reimplemented from Dragengine.Animators.ADRule.
Referenced by debug().
| void Dragengine.Animators.ADRuleForeignState.debug | ( | Console | console | ) |
References buildRule(), debug(), Dragengine.Animators.ADRule.forEachTarget(), getEnableOrientation(), getEnablePosition(), getEnableSize(), getEnableVertexPositionSet(), getModifyX(), getModifyY(), getModifyZ(), new(), setDestinationCoordinateFrame(), setEnableOrientation(), setEnablePosition(), setEnableSize(), setEnableVertexPositionSet(), setForeignBone(), setForeignVertexPositionSet(), setModifyX(), setModifyY(), setModifyZ(), setScaleOrientation(), setScalePosition(), setScaleSize(), setScaleVertexPositionSet(), and setSourceCoordinateFrame().
Referenced by debug().
| ARForeignStateCFrame Dragengine.Animators.ADRuleForeignState.getDestinationCoordinateFrame | ( | ) |
Destination coordinate frame.
Referenced by getEnableVertexPositionSet().
| bool Dragengine.Animators.ADRuleForeignState.getEnableOrientation | ( | ) |
Orientation manipulation is enabled.
References setForeignVertexPositionSet().
Referenced by debug().
| bool Dragengine.Animators.ADRuleForeignState.getEnablePosition | ( | ) |
Position manipulation is enabled.
Referenced by debug().
| bool Dragengine.Animators.ADRuleForeignState.getEnableSize | ( | ) |
Size manipulation is enabled.
Referenced by debug().
| bool Dragengine.Animators.ADRuleForeignState.getEnableVertexPositionSet | ( | ) |
Vertex position set manipulation is enabled.
References getDestinationCoordinateFrame().
Referenced by debug().
| String Dragengine.Animators.ADRuleForeignState.getForeignBone | ( | ) |
Foreign bone name.
Referenced by getModifyY().
| String Dragengine.Animators.ADRuleForeignState.getForeignVertexPositionSet | ( | ) |
Foreign vertex position set name.
References getScaleOrientation().
Referenced by setModifyZ().
| bool Dragengine.Animators.ADRuleForeignState.getModifyX | ( | ) |
| bool Dragengine.Animators.ADRuleForeignState.getModifyY | ( | ) |
| bool Dragengine.Animators.ADRuleForeignState.getModifyZ | ( | ) |
| float Dragengine.Animators.ADRuleForeignState.getScaleOrientation | ( | ) |
Orientation scale factor.
Referenced by getForeignVertexPositionSet().
| float Dragengine.Animators.ADRuleForeignState.getScalePosition | ( | ) |
Pposition scale factor.
Referenced by setForeignBone().
| float Dragengine.Animators.ADRuleForeignState.getScaleSize | ( | ) |
Size scale factor.
Referenced by setSourceCoordinateFrame().
| float Dragengine.Animators.ADRuleForeignState.getScaleVertexPositionSet | ( | ) |
| ARForeignStateCFrame Dragengine.Animators.ADRuleForeignState.getSourceCoordinateFrame | ( | ) |
| ADRuleForeignState Dragengine.Animators.ADRuleForeignState.new | ( | ) |
Create animation rule definition.
Reimplemented from Dragengine.Animators.ADRule.
References new().
Referenced by debug(), new(), setEnableOrientation(), setModifyY(), and setScaleOrientation().
| ADRuleForeignState Dragengine.Animators.ADRuleForeignState.new | ( | AnimatorDefinition | fromDef, |
| AnimatorDefinition | toDef, | ||
| ADRuleForeignState | rule ) |
Create copy of animation rule definition.
| void Dragengine.Animators.ADRuleForeignState.setDestinationCoordinateFrame | ( | ARForeignStateCFrame | coordFrame | ) |
Set if destination coordinate frame.
References setScaleSize().
Referenced by debug(), and setEnableVertexPositionSet().
| void Dragengine.Animators.ADRuleForeignState.setEnableOrientation | ( | bool | enable | ) |
| void Dragengine.Animators.ADRuleForeignState.setEnablePosition | ( | bool | enable | ) |
Set if position manipulation is enabled.
Referenced by debug().
| void Dragengine.Animators.ADRuleForeignState.setEnableSize | ( | bool | enable | ) |
Set if size manipulation is enabled.
References getSourceCoordinateFrame(), and setSourceCoordinateFrame().
Referenced by debug().
| void Dragengine.Animators.ADRuleForeignState.setEnableVertexPositionSet | ( | bool | enable | ) |
Set if vertex position set manipulation is enabled.
References setDestinationCoordinateFrame().
Referenced by debug().
| void Dragengine.Animators.ADRuleForeignState.setForeignBone | ( | String | bone | ) |
Set foreign bone name.
References getScalePosition(), and setScalePosition().
Referenced by debug(), and setModifyY().
| void Dragengine.Animators.ADRuleForeignState.setForeignVertexPositionSet | ( | String | vertexPositionSet | ) |
Set foreign vertex position set name.
Referenced by debug(), and getEnableOrientation().
| void Dragengine.Animators.ADRuleForeignState.setModifyX | ( | bool | modify | ) |
Set if X component is modified.
References setScaleVertexPositionSet().
Referenced by debug().
| void Dragengine.Animators.ADRuleForeignState.setModifyY | ( | bool | modify | ) |
Set if Y component is modified.
References new(), and setForeignBone().
Referenced by debug().
| void Dragengine.Animators.ADRuleForeignState.setModifyZ | ( | bool | modify | ) |
Set if z component is modified.
References getForeignVertexPositionSet().
Referenced by debug().
| void Dragengine.Animators.ADRuleForeignState.setScaleOrientation | ( | float | scaleFactor | ) |
Set orientation scale factor.
References new().
Referenced by debug(), and getSourceCoordinateFrame().
| void Dragengine.Animators.ADRuleForeignState.setScalePosition | ( | float | scaleFactor | ) |
Set position scale factor.
Referenced by debug(), and setForeignBone().
| void Dragengine.Animators.ADRuleForeignState.setScaleSize | ( | float | scaleFactor | ) |
Set size scale factor.
Referenced by debug(), and setDestinationCoordinateFrame().
| void Dragengine.Animators.ADRuleForeignState.setScaleVertexPositionSet | ( | float | scale | ) |
| void Dragengine.Animators.ADRuleForeignState.setSourceCoordinateFrame | ( | ARForeignStateCFrame | coordFrame | ) |
Set if source coordinate frame.
References getScaleSize().
Referenced by debug(), and setEnableSize().