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

Animator rule foreign state. More...

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

Public Member Functions

Constructors
ARForeignState new ()
 Create animator rule.
Management
void setScalePosition (float scalePosition)
 Set scale position.
void setScaleOrientation (float scaleOrientation)
 Set scale orientation.
void setScaleSize (float scaleSize)
 Set scale size.
void setScaleVertexPositionSet (float scale)
 Set scale vertex position set.
void setForeignBone (String boneName)
 Set foreign bone.
void setForeignVertexPositionSet (String vertexPositionSet)
 Set foreign vertex position set.
void setSourceCoordinateFrame (ARForeignStateCFrame coordinateFrame)
 Set source coordinate frame.
void setDestinationCoordinateFrame (ARForeignStateCFrame coordinateFrame)
 Set destination coordinate frame.
void setModifyX (bool modify)
 Modify X component.
void setModifyY (bool modify)
 Modify Y component.
void setModifyZ (bool modify)
 Modify Z component.
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 (ARForeignStateTarget target, int link)
 Add link to target.
void targetRemoveAllLinks (ARForeignStateTarget 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 foreign state.

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

Member Function Documentation

◆ new()

ARForeignState Dragengine.Scenery.ARForeignState.new ( )

Create animator rule.

Reimplemented from Dragengine.Scenery.AnimatorRule.

References new().

Referenced by new().

◆ setDestinationCoordinateFrame()

void Dragengine.Scenery.ARForeignState.setDestinationCoordinateFrame ( ARForeignStateCFrame coordinateFrame)

Set destination coordinate frame.

Exceptions
EInvalidParamcoordinateFrame is not a valid value.

References setSourceCoordinateFrame().

Referenced by setModifyX().

◆ setEnableOrientation()

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

Enable orientation modification.

Referenced by setEnableVertexPositionSet().

◆ setEnablePosition()

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

Enable position modification.

Referenced by setEnableVertexPositionSet().

◆ setEnableSize()

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

Enable size modification.

References setModifyZ().

Referenced by targetAddLink().

◆ setEnableVertexPositionSet()

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

Enable vertex position set modification.

Version
1.17

References setEnableOrientation(), and setEnablePosition().

Referenced by targetRemoveAllLinks().

◆ setForeignBone()

void Dragengine.Scenery.ARForeignState.setForeignBone ( String boneName)

Set foreign bone.

References setForeignBone(), and setScaleVertexPositionSet().

Referenced by setForeignBone().

◆ setForeignVertexPositionSet()

void Dragengine.Scenery.ARForeignState.setForeignVertexPositionSet ( String vertexPositionSet)

Set foreign vertex position set.

Version
1.17

Referenced by setSourceCoordinateFrame().

◆ setModifyX()

void Dragengine.Scenery.ARForeignState.setModifyX ( bool modify)

Modify X component.

Version
1.6

References setDestinationCoordinateFrame().

Referenced by setModifyY().

◆ setModifyY()

void Dragengine.Scenery.ARForeignState.setModifyY ( bool modify)

Modify Y component.

Version
1.6

References setModifyX().

Referenced by setModifyZ().

◆ setModifyZ()

void Dragengine.Scenery.ARForeignState.setModifyZ ( bool modify)

Modify Z component.

Version
1.6

References setModifyY().

Referenced by setEnableSize().

◆ setScaleOrientation()

void Dragengine.Scenery.ARForeignState.setScaleOrientation ( float scaleOrientation)

Set scale orientation.

References setScaleOrientation().

Referenced by setScaleOrientation().

◆ setScalePosition()

void Dragengine.Scenery.ARForeignState.setScalePosition ( float scalePosition)

Set scale position.

References setScalePosition().

Referenced by setScalePosition().

◆ setScaleSize()

void Dragengine.Scenery.ARForeignState.setScaleSize ( float scaleSize)

Set scale size.

References setScaleSize().

Referenced by setScaleSize().

◆ setScaleVertexPositionSet()

void Dragengine.Scenery.ARForeignState.setScaleVertexPositionSet ( float scale)

Set scale vertex position set.

Version
1.17

Referenced by setForeignBone().

◆ setSourceCoordinateFrame()

void Dragengine.Scenery.ARForeignState.setSourceCoordinateFrame ( ARForeignStateCFrame coordinateFrame)

Set source coordinate frame.

Exceptions
EInvalidParamcoordinateFrame is not a valid value.

References setForeignVertexPositionSet().

Referenced by setDestinationCoordinateFrame().

◆ targetAddLink()

void Dragengine.Scenery.ARForeignState.targetAddLink ( ARForeignStateTarget target,
int link )

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

References setEnableSize().

Referenced by targetRemoveAllLinks().

◆ targetRemoveAllLinks()

void Dragengine.Scenery.ARForeignState.targetRemoveAllLinks ( ARForeignStateTarget target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

References setEnableVertexPositionSet(), targetAddLink(), and targetRemoveAllLinks().

Referenced by targetRemoveAllLinks().


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