Drag[en]gine Script Module DragonScript
1.23
|
Debug BehaviorVRHandPose. \versoin 1.23. More...
Public Member Functions | |
void | addToGameWorld () |
ECBehaviorVRHandPose.Instance | getBehavior () |
bool | getBoneCoordSystemsVisible () |
Bone coordinate systems are visible. More... | |
bool | getPoseWithController () |
Get use bone pose with controller. More... | |
bool | getSkeletonVisible () |
Skeleton is visible. More... | |
DebugBehaviorVRHandPose | new (ECBehaviorVRHandPose.Instance behavior) |
Create debug instance for behavior. More... | |
void | onAddToElement () |
Behavior has been added to element. More... | |
void | onRemoveFromElement () |
Behavior has been removed from element. More... | |
void | postThink (float elapsed) |
void | removeFromGameWorld () |
void | setBoneCoordSystemsVisible (bool visible) |
Set if bone coordinate systems are visible. More... | |
void | setPoseWithController (bool withController) |
Set use bone pose with controller. More... | |
void | setSkeletonVisible (bool visible) |
Set if skeleton is visible. More... | |
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. More... | |
String | persistencyFactoryName () |
bool | requiresEnterFrame () |
bool | requiresThink () |
void | safeDispose () |
Remove from element if present then call dispose(). More... | |
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. More... | |
void | setRequiresThink (bool required) |
Set if behavior instance requires think() and postThink() to be called. More... | |
Debug BehaviorVRHandPose. \versoin 1.23.
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 |
|
protected |
|
protected |
|
protected |
void Dragengine.Debugging.DebugBehaviorVRHandPose.addToGameWorld | ( | ) |
Reimplemented from Dragengine.Scenery.DefaultECAttachableBehavior.
ECBehaviorVRHandPose.Instance Dragengine.Debugging.DebugBehaviorVRHandPose.getBehavior | ( | ) |
\ brief Monitored behavior.
bool Dragengine.Debugging.DebugBehaviorVRHandPose.getBoneCoordSystemsVisible | ( | ) |
Bone coordinate systems are visible.
|
protected |
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.
bool Dragengine.Debugging.DebugBehaviorVRHandPose.getSkeletonVisible | ( | ) |
Skeleton is visible.
|
protected |
DebugBehaviorVRHandPose Dragengine.Debugging.DebugBehaviorVRHandPose.new | ( | ECBehaviorVRHandPose.Instance | behavior | ) |
Create debug instance for behavior.
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.
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.
void Dragengine.Debugging.DebugBehaviorVRHandPose.postThink | ( | float | elapsed | ) |
Reimplemented from Dragengine.Scenery.DefaultECAttachableBehavior.
void Dragengine.Debugging.DebugBehaviorVRHandPose.removeFromGameWorld | ( | ) |
Reimplemented from Dragengine.Scenery.DefaultECAttachableBehavior.
void Dragengine.Debugging.DebugBehaviorVRHandPose.setBoneCoordSystemsVisible | ( | bool | visible | ) |
Set if bone coordinate systems are 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.
void Dragengine.Debugging.DebugBehaviorVRHandPose.setSkeletonVisible | ( | bool | visible | ) |
Set if skeleton is visible.
|
protected |
|
protected |
|
protected |
ECBehaviorVRHandPose.Instance Dragengine.Debugging.DebugBehaviorVRHandPose.pBehavior |
DebugDrawer Dragengine.Debugging.DebugBehaviorVRHandPose.pDDSkeleton |
float Dragengine.Debugging.DebugBehaviorVRHandPose.pLengthCoordAxis |
float Dragengine.Debugging.DebugBehaviorVRHandPose.pLengthFingerTip |
bool Dragengine.Debugging.DebugBehaviorVRHandPose.pPoseWithController |
float Dragengine.Debugging.DebugBehaviorVRHandPose.pThicknessCoordAxis |
float Dragengine.Debugging.DebugBehaviorVRHandPose.pThicknessSkeletonLine |