Drag[en]gine Script Module DragonScript Script API  1.0
ARForeignState Class Reference

Animator rule foreign state. More...

Inheritance diagram for ARForeignState:
AnimatorRule

Public Member Functions

Constructors
ARForeignState 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 setScalePosition (float scalePosition)
 Set scale position. More...
 
void setScaleOrientation (float scaleOrientation)
 Set scale orientation. More...
 
void setScaleSize (float scaleSize)
 Set scale size. More...
 
void setForeignBone (String boneName)
 Set foreign bone. More...
 
void setSourceCoordinateFrame (int coordinateFrame)
 Set source coordinate frame. More...
 
void setDestinationCoordinateFrame (int coordinateFrame)
 Set destination coordinate frame. More...
 
void targetAddLink (int target, int link)
 Add link to target. More...
 
void targetRemoveAllLinks (int target)
 Remove all links from target. More...
 
- Public Member Functions inherited from AnimatorRule
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setBlendMode (int blendMode)
 Set blend mode. More...
 
void setBlendFactor (float blendFactor)
 Set blend factor clamped to the range from 0 to 1. 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...
 

Static Public Attributes

Coordinate frame.
static final int CFRAME_LOCAL = 0
 Bone local coordinate frame. More...
 
static final int CFRAME_COMPONENT = 1
 Component coordinate frame. More...
 
Targets.
static final int TARGET_BLEND_FACTOR = 0
 Blend factor target. More...
 
static final int TARGET_POSITION = 1
 Position target. More...
 
static final int TARGET_ORIENTATION = 2
 Orientation target. More...
 
static final int TARGET_SIZE = 3
 Size target. More...
 
- Static Public Attributes inherited from AnimatorRule
static final int BLEND = 0
 Blend from the existing state over to the state produced by the rule. More...
 
static final int OVERLAY = 1
 Overlay the existing state with to the state produced by the rule. More...
 

Additional Inherited Members

- Protected Member Functions inherited from AnimatorRule
AnimatorRule new ()
 Create animator rule. More...
 

Detailed Description

Animator rule foreign state.

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

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ new()

ARForeignState new ( )

Create animator rule.

§ setDestinationCoordinateFrame()

void setDestinationCoordinateFrame ( int  coordinateFrame)

Set destination coordinate frame.

Exceptions
EInvalidParamcoordinateFrame is not a valid value.

§ setEnableOrientation()

void setEnableOrientation ( bool  enabled)

Enable orientation modification.

§ setEnablePosition()

void setEnablePosition ( bool  enabled)

Enable position modification.

§ setEnableSize()

void setEnableSize ( bool  enabled)

Enable size modification.

§ setForeignBone()

void setForeignBone ( String  boneName)

Set foreign bone.

§ setScaleOrientation()

void setScaleOrientation ( float  scaleOrientation)

Set scale orientation.

§ setScalePosition()

void setScalePosition ( float  scalePosition)

Set scale position.

§ setScaleSize()

void setScaleSize ( float  scaleSize)

Set scale size.

§ setSourceCoordinateFrame()

void setSourceCoordinateFrame ( int  coordinateFrame)

Set source coordinate frame.

Exceptions
EInvalidParamcoordinateFrame is not a valid value.

§ targetAddLink()

void targetAddLink ( int  target,
int  link 
)

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

§ targetRemoveAllLinks()

void targetRemoveAllLinks ( int  target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

Member Data Documentation

§ CFRAME_COMPONENT

final int CFRAME_COMPONENT = 1
static

Component coordinate frame.

§ CFRAME_LOCAL

final int CFRAME_LOCAL = 0
static

Bone local coordinate frame.

§ TARGET_BLEND_FACTOR

final int TARGET_BLEND_FACTOR = 0
static

Blend factor target.

§ TARGET_ORIENTATION

final int TARGET_ORIENTATION = 2
static

Orientation target.

§ TARGET_POSITION

final int TARGET_POSITION = 1
static

Position target.

§ TARGET_SIZE

final int TARGET_SIZE = 3
static

Size target.


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