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

Debug ECBehaviorActorMover. More...

Inheritance diagram for Dragengine.Debugging.DebugBehaviorActorMover:

Classes

class  WatchBehavior
 Watch behavior listener. More...
 

Public Member Functions

float getBoxHalfExtends ()
 Box half-extends. More...
 
float getSphereRadius ()
 Sphere radius. More...
 
DebugBehaviorActorMover new (ECBehaviorActorMover.Instance behavior)
 Create debug instance for behavior. More...
 
void onArrivedAtGoal (DVector goalPosition)
 Actor arrived at target. More...
 
void onModifyMoveTowards (DVector position, float elapsed)
 Modify move towards. More...
 
void onStartMoving ()
 Actor starts moving. More...
 
void onStopMoving ()
 Actor stops moving. More...
 
void removeFromBehavior ()
 Remove from 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...
 

Protected Member Functions

DebugDrawer getDebugDrawer ()
 Debug drawer. More...
 
void updateShapeMoveTowards (DVector position)
 Update move towards debug drawer shape. More...
 

Detailed Description

Debug ECBehaviorActorMover.

To use create an instance of DebugBehaviorActorMover with the behavior to attach to. Attaches a listener to the behavior and visualizes the behavior state. Different information can be visualized individually. The debug instance stays active as long as the behavior exists.

Member Function Documentation

◆ getBoxHalfExtends()

float Dragengine.Debugging.DebugBehaviorActorMover.getBoxHalfExtends ( )

Box half-extends.

◆ getDebugDrawer()

DebugDrawer Dragengine.Debugging.DebugBehaviorActorMover.getDebugDrawer ( )
protected

Debug drawer.

◆ getSphereRadius()

float Dragengine.Debugging.DebugBehaviorActorMover.getSphereRadius ( )

Sphere radius.

◆ new()

DebugBehaviorActorMover Dragengine.Debugging.DebugBehaviorActorMover.new ( ECBehaviorActorMover.Instance  behavior)

Create debug instance for behavior.

◆ onArrivedAtGoal()

void Dragengine.Debugging.DebugBehaviorActorMover.onArrivedAtGoal ( DVector  goalPosition)

Actor arrived at target.

◆ onModifyMoveTowards()

void Dragengine.Debugging.DebugBehaviorActorMover.onModifyMoveTowards ( DVector  position,
float  elapsed 
)

Modify move towards.

◆ onStartMoving()

void Dragengine.Debugging.DebugBehaviorActorMover.onStartMoving ( )

Actor starts moving.

◆ onStopMoving()

void Dragengine.Debugging.DebugBehaviorActorMover.onStopMoving ( )

Actor stops moving.

◆ removeFromBehavior()

void Dragengine.Debugging.DebugBehaviorActorMover.removeFromBehavior ( )

Remove from behavior.

◆ setBoxHalfExtends()

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

Set box half-extends.

◆ setSphereRadius()

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

Set sphere radius.

◆ setXRay()

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

Set XRay mode.

◆ updateShapeMoveTowards()

void Dragengine.Debugging.DebugBehaviorActorMover.updateShapeMoveTowards ( DVector  position)
protected

Update move towards debug drawer shape.


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