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

Animator rule sub animator. More...

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

Public Member Functions

Constructors
ARSubAnimator 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 setSubAnimator (Animator animator)
 Set sub animator or null if not set.
void setConnectionAt (int target, int controller)
 Set connection between sub animator target and this animator instance controller.
void setMatchingConnections (Animator animator)
 Set connections by matching controller names.
void clearConnections ()
 Clear all connections setting them to -1.
void targetAddLink (ARSubAnimatorTarget target, int link)
 Add link to target.
void targetRemoveAllLinks (ARSubAnimatorTarget 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 sub animator.

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

Member Function Documentation

◆ clearConnections()

void Dragengine.Scenery.ARSubAnimator.clearConnections ( )

Clear all connections setting them to -1.

References setConnectionAt(), and setMatchingConnections().

Referenced by targetAddLink().

◆ new()

ARSubAnimator Dragengine.Scenery.ARSubAnimator.new ( )

Create animator rule.

Reimplemented from Dragengine.Scenery.AnimatorRule.

References new().

Referenced by new().

◆ setConnectionAt()

void Dragengine.Scenery.ARSubAnimator.setConnectionAt ( int target,
int controller )

Set connection between sub animator target and this animator instance controller.

References setSubAnimator().

Referenced by clearConnections().

◆ setEnableOrientation()

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

Enable orientation modification.

References setEnableOrientation().

Referenced by setEnableOrientation().

◆ setEnablePosition()

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

Enable position modification.

References setEnablePosition().

Referenced by setEnablePosition().

◆ setEnableSize()

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

Enable size modification.

References setEnableSize().

Referenced by setEnableSize().

◆ setEnableVertexPositionSet()

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

Enable vertex position set modification.

Version
1.17

References setEnableVertexPositionSet().

Referenced by setEnableVertexPositionSet().

◆ setMatchingConnections()

void Dragengine.Scenery.ARSubAnimator.setMatchingConnections ( Animator animator)

Set connections by matching controller names.

Referenced by clearConnections().

◆ setSubAnimator()

void Dragengine.Scenery.ARSubAnimator.setSubAnimator ( Animator animator)

Set sub animator or null if not set.

Referenced by setConnectionAt().

◆ targetAddLink()

void Dragengine.Scenery.ARSubAnimator.targetAddLink ( ARSubAnimatorTarget target,
int link )

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

References clearConnections().

Referenced by targetRemoveAllLinks().

◆ targetRemoveAllLinks()

void Dragengine.Scenery.ARSubAnimator.targetRemoveAllLinks ( ARSubAnimatorTarget 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: