Drag[en]gine Script Module DragonScript
1.21
|
Behavior instance. More...
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... | |
Behavior instance.
Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.calculateInverseReferenceMatrix | ( | ) |
Calculate inverse reference matrix in component space.
DMatrix Dragengine.Scenery.ECBehaviorActorIK.Instance.calculateTargetMatrix | ( | ) |
Calculate target matrix in world space.
Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.calculateTargetMatrixLocal | ( | ) |
Calculate target matrix in component space.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.clearLimitIKRotation | ( | ) |
Clear limit orientation. \verrsion 1.21.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.clearReference | ( | ) |
Clear reference.
Sets reference matrix to identity matrix and reference bone to null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.clearTarget | ( | ) |
Clear target.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.disable | ( | ) |
Disable behavior and clear target.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.dispose | ( | ) |
Dispose of behavior instance.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.enterFrame | ( | ) |
Frame update started.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.findControllers | ( | ) |
Find controllers.
ECBehaviorActorAnimated.Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.getActorAnimated | ( | ) |
Actor animated behavior.
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKAzimuth | ( | ) |
IK Azimuth Controller or null if not found.
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKDistance | ( | ) |
IK Distance Controller or null if not found.
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKElevation | ( | ) |
IK Elevation Controller or null if not found.
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKHeight | ( | ) |
IK Height Controller or null if not found.
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKPan | ( | ) |
IK Pan Controller or null if not found.
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKPosition | ( | ) |
IK Position Controller or null if not found.
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.getControllerIKRotation | ( | ) |
IK Rotation Controller or null if not found.
ECBehaviorActorIK Dragengine.Scenery.ECBehaviorActorIK.Instance.getECBehavior | ( | ) |
Behavior.
ElementResolver Dragengine.Scenery.ECBehaviorActorIK.Instance.getElementResolver | ( | ) |
Element resolver used during loading or null if not set.
bool Dragengine.Scenery.ECBehaviorActorIK.Instance.getEnabled | ( | ) |
IK handling is enabled.
Vector Dragengine.Scenery.ECBehaviorActorIK.Instance.getLimitIKRotationMaximum | ( | ) |
Maximum limit orientation or null.
Vector Dragengine.Scenery.ECBehaviorActorIK.Instance.getLimitIKRotationMinimum | ( | ) |
Minimum limit orientation or null.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKAzimuth | ( | ) |
Name of IK Azimuth Controller.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKDistance | ( | ) |
Name of IK Distance Controller.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKElevation | ( | ) |
Name of IK Elevation Controller.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKHeight | ( | ) |
Name of IK Height Controller.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKPan | ( | ) |
Name of IK Pan Controller.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKPosition | ( | ) |
Name of IK Position Controller.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getNameControllerIKRotation | ( | ) |
Name of IK Rotation Controller.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getReferenceBone | ( | ) |
Reference bone or null.
Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.getReferenceMatrix | ( | ) |
Reference matrix.
String Dragengine.Scenery.ECBehaviorActorIK.Instance.getTargetBone | ( | ) |
Target bone or null.
ECBehaviorComponent.Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.getTargetComponent | ( | ) |
Target component behavior or null.
Element Dragengine.Scenery.ECBehaviorActorIK.Instance.getTargetElement | ( | ) |
Target element or null.
DMatrix Dragengine.Scenery.ECBehaviorActorIK.Instance.getTargetMatrix | ( | ) |
Target matrix.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.init | ( | StubElement | stub | ) |
Initialize behavior from stub.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.new | ( | ECBehaviorActorIK | ecbehavior, |
BehaviorElement | element | ||
) |
Create behavior instance.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.readFromFile | ( | PersistencyEnvironment | env, |
FileReader | reader | ||
) |
Read behavior from file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setEnabled | ( | bool | enabled | ) |
Set if IK handling is enabled.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setLimitIKRotation | ( | Vector | minimum, |
Vector | maximum | ||
) |
Set limit orientation or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKAzimuth | ( | String | name | ) |
Set name of IK Azimuth Controller or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKDistance | ( | String | name | ) |
Set name of IK Distance Controller or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKElevation | ( | String | name | ) |
Set name of IK Elevation Controller or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKHeight | ( | String | name | ) |
Set name of IK Height Controller or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKPan | ( | String | name | ) |
Set name of IK Pan Controller or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKPosition | ( | String | name | ) |
Set name of IK Position Controller or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setNameControllerIKRotation | ( | String | name | ) |
Set name of IK Rotation Controller or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setReferenceBone | ( | String | bone | ) |
Set reference bone or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setReferenceMatrix | ( | Matrix | matrix | ) |
Set reference matrix.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setReferenceMatrix | ( | Vector | position | ) |
Set reference matrix from position.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget | ( | DMatrix | matrix | ) |
Set target to static world position.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget | ( | Element | element | ) |
Set target to track element position.
Set target to track coordinate system relative to element.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget | ( | Element | element, |
String | bone | ||
) |
Set target to track position relative to element bone.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget | ( | Element | element, |
String | bone, | ||
DMatrix | matrix | ||
) |
Set target to track coordinate system relative to element bone.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTarget | ( | Element | element, |
String | bone, | ||
Vector | position | ||
) |
Set target to track position relative to element bone.
Set target to track position relative to element.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTargetBone | ( | String | bone | ) |
Set target bone or null.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTargetMatrix | ( | DMatrix | matrix | ) |
Set target matrix.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.setTargetMatrix | ( | Vector | position | ) |
Set target matrix from position.
void Dragengine.Scenery.ECBehaviorActorIK.Instance.updateControllers | ( | float | elapsed | ) |
Update controllers.
ECBehaviorActorAnimated.Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.pActorAnimated |
Component Dragengine.Scenery.ECBehaviorActorIK.Instance.pComponent |
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKAzimuth |
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKDistance |
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKElevation |
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKHeight |
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKPan |
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKPosition |
AnimatorController Dragengine.Scenery.ECBehaviorActorIK.Instance.pControllerIKRotation |
ECBehaviorActorIK Dragengine.Scenery.ECBehaviorActorIK.Instance.pECBehavior |
ElementResolver Dragengine.Scenery.ECBehaviorActorIK.Instance.pElementResolver |
bool Dragengine.Scenery.ECBehaviorActorIK.Instance.pEnabled |
int Dragengine.Scenery.ECBehaviorActorIK.Instance.pIndexReferenceBone |
Vector Dragengine.Scenery.ECBehaviorActorIK.Instance.pLimitIKRotationMin |
Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.pLimRotCenter |
Vector Dragengine.Scenery.ECBehaviorActorIK.Instance.pLimRotMin |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKAzimuth |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKDistance |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKElevation |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKHeight |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKPan |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKPosition |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pNameControllerIKRotation |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pReferenceBone |
Matrix Dragengine.Scenery.ECBehaviorActorIK.Instance.pReferenceMatrix |
String Dragengine.Scenery.ECBehaviorActorIK.Instance.pTargetBone |
ECBehaviorComponent.Instance Dragengine.Scenery.ECBehaviorActorIK.Instance.pTargetComponent |
Element Dragengine.Scenery.ECBehaviorActorIK.Instance.pTargetElement |
DMatrix Dragengine.Scenery.ECBehaviorActorIK.Instance.pTargetMatrix |
bool Dragengine.Scenery.ECBehaviorActorIK.Instance.pUseAngles |