Drag[en]gine Script Module DragonScript
1.23
|
Debug ECBehaviorHitScan. More...
Public Member Functions | |
void | clear () |
Clear debug drawer. More... | |
float | getBoxHalfExtends () |
Box half-extends. More... | |
float | getSphereRadius () |
Sphere radius. More... | |
DebugBehaviorHitScan | new (ECBehaviorHitScan.Instance behavior) |
Create debug instance for behavior. More... | |
void | setBoxHalfExtends (float halfExtends) |
Set box half-extends. More... | |
void | setSphereRadius (float radius) |
Set sphere radius. More... | |
void | setXRay (bool xray) |
Set XRay mode. More... | |
void | update () |
Update drawer shape. More... | |
Protected Member Functions | |
DebugDrawer | getDebugDrawer () |
Debug drawer. More... | |
Debug ECBehaviorHitScan.
To use create an instance of DebugBehaviorHitScan with the behavior to track. Call update() after hit scan is done to update debug drawers. Call clear() to hide.
void Dragengine.Debugging.DebugBehaviorHitScan.clear | ( | ) |
Clear debug drawer.
float Dragengine.Debugging.DebugBehaviorHitScan.getBoxHalfExtends | ( | ) |
Box half-extends.
|
protected |
Debug drawer.
float Dragengine.Debugging.DebugBehaviorHitScan.getSphereRadius | ( | ) |
Sphere radius.
DebugBehaviorHitScan Dragengine.Debugging.DebugBehaviorHitScan.new | ( | ECBehaviorHitScan.Instance | behavior | ) |
Create debug instance for behavior.
void Dragengine.Debugging.DebugBehaviorHitScan.setBoxHalfExtends | ( | float | halfExtends | ) |
Set box half-extends.
void Dragengine.Debugging.DebugBehaviorHitScan.setSphereRadius | ( | float | radius | ) |
Set sphere radius.
void Dragengine.Debugging.DebugBehaviorHitScan.setXRay | ( | bool | xray | ) |
Set XRay mode.
void Dragengine.Debugging.DebugBehaviorHitScan.update | ( | ) |
Update drawer shape.