|
Drag[en]gine Script Module DragonScript 1.32.1
|
Behavior instance. More...
Classes | |
| class | Bone |
| enum | BoneEntry |
Public Member Functions | |
| void | dispose () |
| Dispose of composeable instance. | |
| bool | getOnlyRotation () |
| Apply only rotation instead of position and rotation. | |
| bool | getUseVRBody () |
| VR body is used instead of hands for applying finger pose. | |
| void | init (StubElement stub) |
| Initialize element from stub. | |
| Instance | new (ECBehaviorVRHandPose ecbehavior, BehaviorElement element) |
| Create element. | |
| void | updateControllers () |
| Update controllers. | |
Public Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance | |
| void | addToGameWorld () |
| Add element to game world. | |
| void | attachToParent (Element parent) |
| Attach element to object set by the mapper in the IGDE World Editor. | |
| void | enterFrame () |
| Frame update started. | |
| void | geometryChanged () |
| Position or orientation changed. | |
| BehaviorElement | getElement () |
| Behavior element to apply behavior to. | |
| int | getInstanceIndex () |
| Behavior instance index. | |
| DefaultECBehaviorInstance | new (BehaviorElement element) |
| Create default composeable instance. | |
| void | postThink (float elapsed) |
| Post thinking after physics processing is finished. | |
| void | readFromFile (PersistencyEnvironment env, FileReader reader) |
| Read behavior instance from file. | |
| void | removeFromGameWorld () |
| Remove element from game world. | |
| bool | requiresEnterFrame () |
| Behavior instance requires enterFrame() to be called. | |
| bool | requiresThink () |
| Behavior instance requires think() to be called. | |
| void | stateChanged () |
| State changed (visble, touchable). | |
| void | think (float elapsed) |
| Think about what to do for the next frame update. | |
| void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
| Write behavior instance to file. | |
Public Attributes | |
| ADController | pADControllerEnableFingers |
| AnimatorInstance | pAnimatorInstance |
| String | pBoneOrigin |
| Array | pBones |
| AnimatorController | pControllerEnableFingers |
| ECBehaviorVRHandPose | pECBehavior |
| Matrix | pHandScale |
| float | pModelFingerTipDistance |
| bool | pOnlyRotation |
| bool | pUseVRBody |
| ECBehaviorVRBody.Instance | pVRBody |
| ECBehaviorVRHand.Instance | pVRHand |
Public Attributes inherited from Dragengine.Scenery.DefaultECBehaviorInstance | |
| BehaviorElement | pElement |
| int | pInstanceIndex |
| bool | pRequiresEnterFrame |
| bool | pRequiresThink |
Protected Member Functions | |
| Bone | getBone (BoneEntry entry) |
| Bone entry. | |
| Bone | getBoneAt (int index) |
| Bone entry. | |
| void | updateHandScale () |
| Calculate hand scaling. | |
Protected Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance | |
| void | setRequiresEnterFrame (bool required) |
| Set if behavior instance requires enterFrame() to be called. | |
| void | setRequiresThink (bool required) |
| Set if behavior instance requires think() to be called. | |
Behavior instance.
| void Dragengine.Scenery.ECBehaviorVRHandPose.Instance.dispose | ( | ) |
Dispose of composeable instance.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
Bone entry.
|
protected |
Bone entry.
| bool Dragengine.Scenery.ECBehaviorVRHandPose.Instance.getOnlyRotation | ( | ) |
Apply only rotation instead of position and rotation.
| bool Dragengine.Scenery.ECBehaviorVRHandPose.Instance.getUseVRBody | ( | ) |
VR body is used instead of hands for applying finger pose.
| void Dragengine.Scenery.ECBehaviorVRHandPose.Instance.init | ( | StubElement | stub | ) |
Initialize element from stub.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
| Instance Dragengine.Scenery.ECBehaviorVRHandPose.Instance.new | ( | ECBehaviorVRHandPose | ecbehavior, |
| BehaviorElement | element | ||
| ) |
Create element.
| void Dragengine.Scenery.ECBehaviorVRHandPose.Instance.updateControllers | ( | ) |
Update controllers.
|
protected |
Calculate hand scaling.
| ADController Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pADControllerEnableFingers |
| AnimatorInstance Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pAnimatorInstance |
| String Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pBoneOrigin |
| Array Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pBones |
| AnimatorController Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pControllerEnableFingers |
| ECBehaviorVRHandPose Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pECBehavior |
| Matrix Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pHandScale |
| float Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pModelFingerTipDistance |
| bool Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pOnlyRotation |
| bool Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pUseVRBody |
| ECBehaviorVRBody.Instance Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pVRBody |
| ECBehaviorVRHand.Instance Dragengine.Scenery.ECBehaviorVRHandPose.Instance.pVRHand |