Drag[en]gine Script Module DragonScript 1.24
|
Debug BehaviorVRHandPose. \versoin 1.23. 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 () |
void | onRemoveFromElement () |
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 Attributes | |
ECBehaviorVRHandPose.Instance | pBehavior |
DebugDrawer | pDDSkeleton |
float | pLengthCoordAxis |
float | pLengthFingerTip |
bool | pPoseWithController |
float | pThicknessCoordAxis |
float | pThicknessSkeletonLine |
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) |
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 | ( | ) |
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 | ( | ) |
void Dragengine.Debugging.DebugBehaviorVRHandPose.onRemoveFromElement | ( | ) |
void Dragengine.Debugging.DebugBehaviorVRHandPose.postThink | ( | float | elapsed | ) |
void Dragengine.Debugging.DebugBehaviorVRHandPose.removeFromGameWorld | ( | ) |
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 |