Drag[en]gine Script Module DragonScript  1.23
Dragengine.Debugging.DebugBehaviorHitScan Class Reference

Debug ECBehaviorHitScan. More...

Inheritance diagram for Dragengine.Debugging.DebugBehaviorHitScan:

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...
 

Detailed Description

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.

Member Function Documentation

◆ clear()

void Dragengine.Debugging.DebugBehaviorHitScan.clear ( )

Clear debug drawer.

◆ getBoxHalfExtends()

float Dragengine.Debugging.DebugBehaviorHitScan.getBoxHalfExtends ( )

Box half-extends.

◆ getDebugDrawer()

DebugDrawer Dragengine.Debugging.DebugBehaviorHitScan.getDebugDrawer ( )
protected

Debug drawer.

◆ getSphereRadius()

float Dragengine.Debugging.DebugBehaviorHitScan.getSphereRadius ( )

Sphere radius.

◆ new()

DebugBehaviorHitScan Dragengine.Debugging.DebugBehaviorHitScan.new ( ECBehaviorHitScan.Instance  behavior)

Create debug instance for behavior.

◆ setBoxHalfExtends()

void Dragengine.Debugging.DebugBehaviorHitScan.setBoxHalfExtends ( float  halfExtends)

Set box half-extends.

◆ setSphereRadius()

void Dragengine.Debugging.DebugBehaviorHitScan.setSphereRadius ( float  radius)

Set sphere radius.

◆ setXRay()

void Dragengine.Debugging.DebugBehaviorHitScan.setXRay ( bool  xray)

Set XRay mode.

◆ update()

void Dragengine.Debugging.DebugBehaviorHitScan.update ( )

Update drawer shape.


The documentation for this class was generated from the following file: