Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.ARMirror Class Reference

Animator rule mirror. More...

Inheritance diagram for Dragengine.Scenery.ARMirror:
Dragengine.Scenery.AnimatorRule

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

Protected Member Functions inherited from Dragengine.Scenery.AnimatorRule

Detailed Description

Animator rule mirror.

Version
1.9

This is a native class. It can not be subclassed.

Member Function Documentation

◆ addMatchName()

void Dragengine.Scenery.ARMirror.addMatchName ( String first,
String second,
ARMirrorMatchNameType type )

Add match bone name.

Exceptions
EInvalidParamfirst is empty string.
EInvalidParamsecond is empty string.
EInvalidParamtype is not a valid value.

References addMatchName().

Referenced by addMatchName().

◆ new()

ARMirror Dragengine.Scenery.ARMirror.new ( )

Create animator rule.

Reimplemented from Dragengine.Scenery.AnimatorRule.

References new().

Referenced by new().

◆ setEnableOrientation()

void Dragengine.Scenery.ARMirror.setEnableOrientation ( bool enabled)

Enable orientation modification.

References setEnablePosition().

Referenced by setEnableSize().

◆ setEnablePosition()

void Dragengine.Scenery.ARMirror.setEnablePosition ( bool enabled)

Enable position modification.

Referenced by setEnableOrientation().

◆ setEnableSize()

void Dragengine.Scenery.ARMirror.setEnableSize ( bool enabled)

Enable size modification.

References setEnableOrientation().

Referenced by setEnableVertexPositionSet().

◆ setEnableVertexPositionSet()

void Dragengine.Scenery.ARMirror.setEnableVertexPositionSet ( bool enabled)

Enable vertex position set modification.

Version
1.17

References setEnableSize(), and setEnableVertexPositionSet().

Referenced by setEnableVertexPositionSet().

◆ setMirrorAxis()

void Dragengine.Scenery.ARMirror.setMirrorAxis ( ARMirrorMirrorAxis axis)

Set mirror axis.

Exceptions
EInvalidParamaxis is not a valid value.

References setMirrorAxis().

Referenced by setMirrorAxis().

◆ setMirrorBone()

void Dragengine.Scenery.ARMirror.setMirrorBone ( String boneName)

Set mirror bone.

References setMirrorBone().

Referenced by setMirrorBone().

◆ targetAddLink()

void Dragengine.Scenery.ARMirror.targetAddLink ( ARMirrorTarget target,
int link )

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

Referenced by targetRemoveAllLinks().

◆ targetRemoveAllLinks()

void Dragengine.Scenery.ARMirror.targetRemoveAllLinks ( ARMirrorTarget target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

References targetAddLink(), and targetRemoveAllLinks().

Referenced by targetRemoveAllLinks().


The documentation for this class was generated from the following file: