|
Drag[en]gine Script Module DragonScript 1.35
|
Debug BehaviorVRHandPose. More...
Public Member Functions | |
| void | addToGameWorld () |
| ECBehaviorVRHandPose.Instance | getBehavior () |
| bool | getBoneCoordSystemsVisible () |
| Bone coordinate systems are visible. | |
| bool | getPoseWithController () |
| Get use bone pose with controller. | |
| bool | getSkeletonVisible () |
| Skeleton is visible. | |
| DebugBehaviorVRHandPose | new (ECBehaviorVRHandPose.Instance behavior) |
| Create debug instance for behavior. | |
| void | onAddToElement () |
| Behavior has been added to element. | |
| void | onRemoveFromElement () |
| Behavior has been removed from element. | |
| void | postThink (float elapsed) |
| void | removeFromGameWorld () |
| void | setBoneCoordSystemsVisible (bool visible) |
| Set if bone coordinate systems are visible. | |
| void | setPoseWithController (bool withController) |
| Set use bone pose with controller. | |
| void | setSkeletonVisible (bool visible) |
| Set if skeleton is visible. | |
| Public Member Functions inherited from Dragengine.Scenery.DefaultECAttachableBehavior | |
| void | attachToParent (Element parent) |
| void | dispose () |
| void | enterFrame () |
| void | geometryChanged () |
| BehaviorElement | getElement () |
| DefaultECAttachableBehavior | new () |
| Create default attachable behavior instance. | |
| String | persistencyFactoryName () |
| bool | requiresEnterFrame () |
| bool | requiresThink () |
| void | safeDispose () |
| Remove from element if present then call dispose(). | |
| void | setElement (BehaviorElement element) |
| void | stateChanged () |
| void | think (float elapsed) |
| void | writeObjectToFile (PersistencyEnvironment env, FileWriter writer) |
Public Attributes | |
| ECBehaviorVRHandPose.Instance | pBehavior |
| DebugDrawer | pDDSkeleton |
| float | pLengthCoordAxis |
| float | pLengthFingerTip |
| bool | pPoseWithController |
| float | pThicknessCoordAxis |
| float | pThicknessSkeletonLine |
| Public Attributes inherited from Dragengine.Scenery.DefaultECAttachableBehavior | |
| BehaviorElement | pElement |
| bool | pRequiresEnterFrame |
| bool | pRequiresThink |
Protected Member Functions | |
| void | addCoordSystem (ShapeList shapesX, ShapeList shapesY, ShapeList shapesZ, Matrix matrix) |
| void | addCoordSystem (ShapeList shapesX, ShapeList shapesY, ShapeList shapesZ, Matrix matrix, float scale) |
| void | addLineShape (ShapeList shapes, InputDevice device, int indexHead) |
| void | addLineShape (ShapeList shapes, InputDevice device, int indexHead, int indexTail) |
| InputDevice | getInputDevice () |
| void | log (String message) |
| void | update () |
| void | updateCoordSystems (InputDevice device, DMatrix matrix) |
| void | updateSkeleton (InputDevice device, DMatrix matrix) |
| Protected Member Functions inherited from Dragengine.Scenery.DefaultECAttachableBehavior | |
| void | setRequiresEnterFrame (bool required) |
| Set if behavior instance requires enterFrame() to be called. | |
| void | setRequiresThink (bool required) |
| Set if behavior instance requires think() and postThink() to be called. | |
Debug BehaviorVRHandPose.
To use create an instance of DebugBehaviorVRHandPose with the behavior to monitor then call BehaviorElement#addAttachableBehavior(). The debug class attaches to the behavior element owning the behavior instance. To remove the debug class from the behavior element call safeDispose().
Displays a debug skeleton.
|
protected |
Referenced by log().
|
protected |
References setBoneCoordSystemsVisible().
|
protected |
|
protected |
References getBoneCoordSystemsVisible().
Referenced by log().
| void Dragengine.Debugging.DebugBehaviorVRHandPose.addToGameWorld | ( | ) |
Reimplemented from Dragengine.Scenery.DefaultECAttachableBehavior.
Referenced by log().
| ECBehaviorVRHandPose.Instance Dragengine.Debugging.DebugBehaviorVRHandPose.getBehavior | ( | ) |
| bool Dragengine.Debugging.DebugBehaviorVRHandPose.getBoneCoordSystemsVisible | ( | ) |
|
protected |
References pDDSkeleton.
Referenced by log().
| bool Dragengine.Debugging.DebugBehaviorVRHandPose.getPoseWithController | ( | ) |
Get use bone pose with controller.
If true returns bone pose as accurate as possible to the real hand position. If false remaps the pose to simulate not holding the controller in hand.
References pLengthCoordAxis, pLengthFingerTip, pThicknessCoordAxis, and pThicknessSkeletonLine.
Referenced by log().
| bool Dragengine.Debugging.DebugBehaviorVRHandPose.getSkeletonVisible | ( | ) |
|
protected |
References addCoordSystem(), addLineShape(), addToGameWorld(), Dragengine.Scenery.DefaultECAttachableBehavior.getElement(), getInputDevice(), getPoseWithController(), log(), new(), onAddToElement(), onRemoveFromElement(), pBehavior, pDDSkeleton, postThink(), pPoseWithController, removeFromGameWorld(), setPoseWithController(), update(), updateCoordSystems(), and updateSkeleton().
Referenced by log().
| DebugBehaviorVRHandPose Dragengine.Debugging.DebugBehaviorVRHandPose.new | ( | ECBehaviorVRHandPose.Instance | behavior | ) |
Create debug instance for behavior.
References new(), pBehavior, and pDDSkeleton.
Referenced by log(), new(), and setBoneCoordSystemsVisible().
| void Dragengine.Debugging.DebugBehaviorVRHandPose.onAddToElement | ( | ) |
Behavior has been added to element.
Called by setElement() after element has been set in these situations:
Reimplemented from Dragengine.Scenery.DefaultECAttachableBehavior.
Referenced by log().
| void Dragengine.Debugging.DebugBehaviorVRHandPose.onRemoveFromElement | ( | ) |
Behavior has been removed from element.
Called by setElement() before element is set to null in these situations:
Reimplemented from Dragengine.Scenery.DefaultECAttachableBehavior.
References getSkeletonVisible().
Referenced by log().
| void Dragengine.Debugging.DebugBehaviorVRHandPose.postThink | ( | float | elapsed | ) |
Reimplemented from Dragengine.Scenery.DefaultECAttachableBehavior.
Referenced by log().
| void Dragengine.Debugging.DebugBehaviorVRHandPose.removeFromGameWorld | ( | ) |
Reimplemented from Dragengine.Scenery.DefaultECAttachableBehavior.
References getBehavior(), and pBehavior.
Referenced by log().
| void Dragengine.Debugging.DebugBehaviorVRHandPose.setBoneCoordSystemsVisible | ( | bool | visible | ) |
| void Dragengine.Debugging.DebugBehaviorVRHandPose.setPoseWithController | ( | bool | withController | ) |
Set use bone pose with controller.
If true returns bone pose as accurate as possible to the real hand position. If false remaps the pose to simulate not holding the controller in hand.
References pPoseWithController, and Dragengine.Scenery.DefaultECAttachableBehavior.setRequiresThink().
Referenced by log().
| void Dragengine.Debugging.DebugBehaviorVRHandPose.setSkeletonVisible | ( | bool | visible | ) |
|
protected |
Referenced by log().
|
protected |
Referenced by log().
|
protected |
References pDDSkeleton, and setSkeletonVisible().
Referenced by log().
| ECBehaviorVRHandPose.Instance Dragengine.Debugging.DebugBehaviorVRHandPose.pBehavior |
Referenced by log(), new(), and removeFromGameWorld().
| DebugDrawer Dragengine.Debugging.DebugBehaviorVRHandPose.pDDSkeleton |
Referenced by getBehavior(), getBoneCoordSystemsVisible(), getInputDevice(), getSkeletonVisible(), log(), new(), setSkeletonVisible(), and updateSkeleton().
| float Dragengine.Debugging.DebugBehaviorVRHandPose.pLengthCoordAxis |
Referenced by getPoseWithController().
| float Dragengine.Debugging.DebugBehaviorVRHandPose.pLengthFingerTip |
Referenced by getPoseWithController().
| bool Dragengine.Debugging.DebugBehaviorVRHandPose.pPoseWithController |
Referenced by log(), and setPoseWithController().
| float Dragengine.Debugging.DebugBehaviorVRHandPose.pThicknessCoordAxis |
Referenced by getPoseWithController().
| float Dragengine.Debugging.DebugBehaviorVRHandPose.pThicknessSkeletonLine |
Referenced by getPoseWithController().