Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ECBehaviorActorIK.Instance Class Reference

Behavior instance. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorActorIK.Instance:
Dragengine.Scenery.DefaultECBehaviorInstance Dragengine.Scenery.ECBehaviorInstance

Public Member Functions

Matrix calculateInverseReferenceMatrix ()
 Calculate inverse reference matrix in component space. More...
 
DMatrix calculateTargetMatrix ()
 Calculate target matrix in world space. More...
 
Matrix calculateTargetMatrixLocal ()
 Calculate target matrix in component space. More...
 
void clearLimitIKRotation ()
 Clear limit orientation. \verrsion 1.21. More...
 
void clearReference ()
 Clear reference. More...
 
void clearTarget ()
 Clear target. More...
 
void disable ()
 Disable behavior and clear target. More...
 
void dispose ()
 Dispose of behavior instance. More...
 
void enterFrame ()
 Frame update started. More...
 
void findControllers ()
 Find controllers. More...
 
ECBehaviorActorAnimated.Instance getActorAnimated ()
 Actor animated behavior. More...
 
AnimatorController getControllerIKAzimuth ()
 IK Azimuth Controller or null if not found. More...
 
AnimatorController getControllerIKDistance ()
 IK Distance Controller or null if not found. More...
 
AnimatorController getControllerIKElevation ()
 IK Elevation Controller or null if not found. More...
 
AnimatorController getControllerIKHeight ()
 IK Height Controller or null if not found. More...
 
AnimatorController getControllerIKPan ()
 IK Pan Controller or null if not found. More...
 
AnimatorController getControllerIKPosition ()
 IK Position Controller or null if not found. More...
 
AnimatorController getControllerIKRotation ()
 IK Rotation Controller or null if not found. More...
 
ECBehaviorActorIK getECBehavior ()
 Behavior. More...
 
ElementResolver getElementResolver ()
 Element resolver used during loading or null if not set. More...
 
bool getEnabled ()
 IK handling is enabled. More...
 
Vector getLimitIKRotationMaximum ()
 Maximum limit orientation or null. More...
 
Vector getLimitIKRotationMinimum ()
 Minimum limit orientation or null. More...
 
String getNameControllerIKAzimuth ()
 Name of IK Azimuth Controller. More...
 
String getNameControllerIKDistance ()
 Name of IK Distance Controller. More...
 
String getNameControllerIKElevation ()
 Name of IK Elevation Controller. More...
 
String getNameControllerIKHeight ()
 Name of IK Height Controller. More...
 
String getNameControllerIKPan ()
 Name of IK Pan Controller. More...
 
String getNameControllerIKPosition ()
 Name of IK Position Controller. More...
 
String getNameControllerIKRotation ()
 Name of IK Rotation Controller. More...
 
String getReferenceBone ()
 Reference bone or null. More...
 
Matrix getReferenceMatrix ()
 Reference matrix. More...
 
String getTargetBone ()
 Target bone or null. More...
 
ECBehaviorComponent.Instance getTargetComponent ()
 Target component behavior or null. More...
 
Element getTargetElement ()
 Target element or null. More...
 
DMatrix getTargetMatrix ()
 Target matrix. More...
 
void init (StubElement stub)
 Initialize behavior from stub. More...
 
Instance new (ECBehaviorActorIK ecbehavior, BehaviorElement element)
 Create behavior instance. More...
 
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read behavior from file. More...
 
void setEnabled (bool enabled)
 Set if IK handling is enabled. More...
 
void setLimitIKRotation (Vector minimum, Vector maximum)
 Set limit orientation or null. More...
 
void setNameControllerIKAzimuth (String name)
 Set name of IK Azimuth Controller or null. More...
 
void setNameControllerIKDistance (String name)
 Set name of IK Distance Controller or null. More...
 
void setNameControllerIKElevation (String name)
 Set name of IK Elevation Controller or null. More...
 
void setNameControllerIKHeight (String name)
 Set name of IK Height Controller or null. More...
 
void setNameControllerIKPan (String name)
 Set name of IK Pan Controller or null. More...
 
void setNameControllerIKPosition (String name)
 Set name of IK Position Controller or null. More...
 
void setNameControllerIKRotation (String name)
 Set name of IK Rotation Controller or null. More...
 
void setReferenceBone (String bone)
 Set reference bone or null. More...
 
void setReferenceMatrix (Matrix matrix)
 Set reference matrix. More...
 
void setReferenceMatrix (Vector position)
 Set reference matrix from position. More...
 
void setTarget (DMatrix matrix)
 Set target to static world position. More...
 
void setTarget (Element element)
 Set target to track element position. More...
 
void setTarget (Element element, DMatrix matrix)
 Set target to track coordinate system relative to element. More...
 
void setTarget (Element element, String bone)
 Set target to track position relative to element bone. More...
 
void setTarget (Element element, String bone, DMatrix matrix)
 Set target to track coordinate system relative to element bone. More...
 
void setTarget (Element element, String bone, Vector position)
 Set target to track position relative to element bone. More...
 
void setTarget (Element element, Vector position)
 Set target to track position relative to element. More...
 
void setTargetBone (String bone)
 Set target bone or null. More...
 
void setTargetMatrix (DMatrix matrix)
 Set target matrix. More...
 
void setTargetMatrix (Vector position)
 Set target matrix from position. More...
 
void updateControllers (float elapsed)
 Update controllers. More...
 
- Public Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
void addToGameWorld ()
 Add element to game world. More...
 
void attachToParent (Element parent)
 Attach element to object set by the mapper in the IGDE World Editor. More...
 
void geometryChanged ()
 Position or orientation changed. More...
 
BehaviorElement getElement ()
 Behavior element to apply behavior to. More...
 
int getInstanceIndex ()
 Behavior instance index. More...
 
DefaultECBehaviorInstance new (BehaviorElement element)
 Create default composeable instance. More...
 
void postThink (float elapsed)
 Post thinking after physics processing is finished. More...
 
void removeFromGameWorld ()
 Remove element from game world. More...
 
bool requiresEnterFrame ()
 Behavior instance requires enterFrame() to be called. More...
 
bool requiresThink ()
 Behavior instance requires think() to be called. More...
 
void stateChanged ()
 State changed (visble, touchable). More...
 
void think (float elapsed)
 Think about what to do for the next frame update. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write behavior instance to file. More...
 

Public Attributes

ECBehaviorActorAnimated.Instance pActorAnimated
 
Component pComponent
 
AnimatorController pControllerIKAzimuth
 
AnimatorController pControllerIKDistance
 
AnimatorController pControllerIKElevation
 
AnimatorController pControllerIKHeight
 
AnimatorController pControllerIKPan
 
AnimatorController pControllerIKPosition
 
AnimatorController pControllerIKRotation
 
ECBehaviorActorIK pECBehavior
 
ElementResolver pElementResolver
 
bool pEnabled
 
int pIndexReferenceBone
 
Vector pLimitIKRotationMin
 
Matrix pLimRotCenter
 
Vector pLimRotMin
 
String pNameControllerIKAzimuth
 
String pNameControllerIKDistance
 
String pNameControllerIKElevation
 
String pNameControllerIKHeight
 
String pNameControllerIKPan
 
String pNameControllerIKPosition
 
String pNameControllerIKRotation
 
String pReferenceBone
 
Matrix pReferenceMatrix
 
String pTargetBone
 
ECBehaviorComponent.Instance pTargetComponent
 
Element pTargetElement
 
DMatrix pTargetMatrix
 
bool pUseAngles
 

Additional Inherited Members

- Protected Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
void setRequiresEnterFrame (bool required)
 Set if behavior instance requires enterFrame() to be called. More...
 
void setRequiresThink (bool required)
 Set if behavior instance requires think() to be called. More...
 

Detailed Description

Behavior instance.

Member Function Documentation

◆ calculateInverseReferenceMatrix()

Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.calculateInverseReferenceMatrix ( )

Calculate inverse reference matrix in component space.

◆ calculateTargetMatrix()

DMatrix Dragengine.Scenery.ECBehaviorActorIK.Instance.calculateTargetMatrix ( )

Calculate target matrix in world space.

◆ calculateTargetMatrixLocal()

Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.calculateTargetMatrixLocal ( )

Calculate target matrix in component space.

Version
1.21

◆ clearLimitIKRotation()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.clearLimitIKRotation ( )

Clear limit orientation. \verrsion 1.21.

◆ clearReference()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.clearReference ( )

Clear reference.

Version
1.21

Sets reference matrix to identity matrix and reference bone to null.

◆ clearTarget()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.clearTarget ( )

Clear target.

◆ disable()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.disable ( )

Disable behavior and clear target.

◆ dispose()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.dispose ( )

Dispose of behavior instance.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ enterFrame()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.enterFrame ( )

Frame update started.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ findControllers()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.findControllers ( )

Find controllers.

◆ getActorAnimated()

ECBehaviorActorAnimated.Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.getActorAnimated ( )

Actor animated behavior.

◆ getControllerIKAzimuth()

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKAzimuth ( )

IK Azimuth Controller or null if not found.

Version
1.21

◆ getControllerIKDistance()

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKDistance ( )

IK Distance Controller or null if not found.

Version
1.21

◆ getControllerIKElevation()

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKElevation ( )

IK Elevation Controller or null if not found.

Version
1.21

◆ getControllerIKHeight()

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKHeight ( )

IK Height Controller or null if not found.

◆ getControllerIKPan()

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKPan ( )

IK Pan Controller or null if not found.

Version
1.21

◆ getControllerIKPosition()

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKPosition ( )

IK Position Controller or null if not found.

◆ getControllerIKRotation()

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKRotation ( )

IK Rotation Controller or null if not found.

◆ getECBehavior()

ECBehaviorActorIK Dragengine.Scenery.ECBehaviorActorIK.Instance.getECBehavior ( )

Behavior.

◆ getElementResolver()

ElementResolver Dragengine.Scenery.ECBehaviorActorIK.Instance.getElementResolver ( )

Element resolver used during loading or null if not set.

◆ getEnabled()

bool Dragengine.Scenery.ECBehaviorActorIK.Instance.getEnabled ( )

IK handling is enabled.

◆ getLimitIKRotationMaximum()

Vector Dragengine.Scenery.ECBehaviorActorIK.Instance.getLimitIKRotationMaximum ( )

Maximum limit orientation or null.

Version
1.21

◆ getLimitIKRotationMinimum()

Vector Dragengine.Scenery.ECBehaviorActorIK.Instance.getLimitIKRotationMinimum ( )

Minimum limit orientation or null.

Version
1.21

◆ getNameControllerIKAzimuth()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKAzimuth ( )

Name of IK Azimuth Controller.

Version
1.21

◆ getNameControllerIKDistance()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKDistance ( )

Name of IK Distance Controller.

Version
1.21

◆ getNameControllerIKElevation()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKElevation ( )

Name of IK Elevation Controller.

Version
1.21

◆ getNameControllerIKHeight()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKHeight ( )

Name of IK Height Controller.

◆ getNameControllerIKPan()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKPan ( )

Name of IK Pan Controller.

Version
1.21

◆ getNameControllerIKPosition()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKPosition ( )

Name of IK Position Controller.

◆ getNameControllerIKRotation()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKRotation ( )

Name of IK Rotation Controller.

◆ getReferenceBone()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getReferenceBone ( )

Reference bone or null.

Version
1.21

◆ getReferenceMatrix()

Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.getReferenceMatrix ( )

Reference matrix.

Version
1.21

◆ getTargetBone()

String Dragengine.Scenery.ECBehaviorActorIK.Instance.getTargetBone ( )

Target bone or null.

◆ getTargetComponent()

ECBehaviorComponent.Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.getTargetComponent ( )

Target component behavior or null.

◆ getTargetElement()

Element Dragengine.Scenery.ECBehaviorActorIK.Instance.getTargetElement ( )

Target element or null.

◆ getTargetMatrix()

DMatrix Dragengine.Scenery.ECBehaviorActorIK.Instance.getTargetMatrix ( )

Target matrix.

◆ init()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.init ( StubElement  stub)

Initialize behavior from stub.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ new()

Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.new ( ECBehaviorActorIK  ecbehavior,
BehaviorElement  element 
)

Create behavior instance.

◆ readFromFile()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.readFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)

Read behavior from file.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ setEnabled()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setEnabled ( bool  enabled)

Set if IK handling is enabled.

◆ setLimitIKRotation()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setLimitIKRotation ( Vector  minimum,
Vector  maximum 
)

Set limit orientation or null.

Version
1.21

◆ setNameControllerIKAzimuth()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKAzimuth ( String  name)

Set name of IK Azimuth Controller or null.

Version
1.21

◆ setNameControllerIKDistance()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKDistance ( String  name)

Set name of IK Distance Controller or null.

Version
1.21

◆ setNameControllerIKElevation()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKElevation ( String  name)

Set name of IK Elevation Controller or null.

Version
1.21

◆ setNameControllerIKHeight()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKHeight ( String  name)

Set name of IK Height Controller or null.

◆ setNameControllerIKPan()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKPan ( String  name)

Set name of IK Pan Controller or null.

Version
1.21

◆ setNameControllerIKPosition()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKPosition ( String  name)

Set name of IK Position Controller or null.

◆ setNameControllerIKRotation()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKRotation ( String  name)

Set name of IK Rotation Controller or null.

◆ setReferenceBone()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setReferenceBone ( String  bone)

Set reference bone or null.

Version
1.21

◆ setReferenceMatrix() [1/2]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setReferenceMatrix ( Matrix  matrix)

Set reference matrix.

Version
1.21

◆ setReferenceMatrix() [2/2]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setReferenceMatrix ( Vector  position)

Set reference matrix from position.

Version
1.21

◆ setTarget() [1/7]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget ( DMatrix  matrix)

Set target to static world position.

◆ setTarget() [2/7]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget ( Element  element)

Set target to track element position.

◆ setTarget() [3/7]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget ( Element  element,
DMatrix  matrix 
)

Set target to track coordinate system relative to element.

◆ setTarget() [4/7]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget ( Element  element,
String  bone 
)

Set target to track position relative to element bone.

◆ setTarget() [5/7]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget ( Element  element,
String  bone,
DMatrix  matrix 
)

Set target to track coordinate system relative to element bone.

◆ setTarget() [6/7]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget ( Element  element,
String  bone,
Vector  position 
)

Set target to track position relative to element bone.

◆ setTarget() [7/7]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget ( Element  element,
Vector  position 
)

Set target to track position relative to element.

◆ setTargetBone()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTargetBone ( String  bone)

Set target bone or null.

◆ setTargetMatrix() [1/2]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTargetMatrix ( DMatrix  matrix)

Set target matrix.

◆ setTargetMatrix() [2/2]

void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTargetMatrix ( Vector  position)

Set target matrix from position.

◆ updateControllers()

void Dragengine.Scenery.ECBehaviorActorIK.Instance.updateControllers ( float  elapsed)

Update controllers.

Member Data Documentation

◆ pActorAnimated

ECBehaviorActorAnimated.Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.pActorAnimated

◆ pComponent

Component Dragengine.Scenery.ECBehaviorActorIK.Instance.pComponent

◆ pControllerIKAzimuth

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKAzimuth

◆ pControllerIKDistance

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKDistance

◆ pControllerIKElevation

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKElevation

◆ pControllerIKHeight

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKHeight

◆ pControllerIKPan

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKPan

◆ pControllerIKPosition

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKPosition

◆ pControllerIKRotation

AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKRotation

◆ pECBehavior

ECBehaviorActorIK Dragengine.Scenery.ECBehaviorActorIK.Instance.pECBehavior

◆ pElementResolver

ElementResolver Dragengine.Scenery.ECBehaviorActorIK.Instance.pElementResolver

◆ pEnabled

bool Dragengine.Scenery.ECBehaviorActorIK.Instance.pEnabled

◆ pIndexReferenceBone

int Dragengine.Scenery.ECBehaviorActorIK.Instance.pIndexReferenceBone

◆ pLimitIKRotationMin

Vector Dragengine.Scenery.ECBehaviorActorIK.Instance.pLimitIKRotationMin

◆ pLimRotCenter

Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.pLimRotCenter

◆ pLimRotMin

Vector Dragengine.Scenery.ECBehaviorActorIK.Instance.pLimRotMin

◆ pNameControllerIKAzimuth

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKAzimuth

◆ pNameControllerIKDistance

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKDistance

◆ pNameControllerIKElevation

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKElevation

◆ pNameControllerIKHeight

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKHeight

◆ pNameControllerIKPan

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKPan

◆ pNameControllerIKPosition

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKPosition

◆ pNameControllerIKRotation

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKRotation

◆ pReferenceBone

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pReferenceBone

◆ pReferenceMatrix

Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.pReferenceMatrix

◆ pTargetBone

String Dragengine.Scenery.ECBehaviorActorIK.Instance.pTargetBone

◆ pTargetComponent

ECBehaviorComponent.Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.pTargetComponent

◆ pTargetElement

Element Dragengine.Scenery.ECBehaviorActorIK.Instance.pTargetElement

◆ pTargetMatrix

DMatrix Dragengine.Scenery.ECBehaviorActorIK.Instance.pTargetMatrix

◆ pUseAngles

bool Dragengine.Scenery.ECBehaviorActorIK.Instance.pUseAngles

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