Drag[en]gine Script Module DragonScript 1.24
|
Debug ECBehaviorActorMover. More...
Classes | |
class | WatchBehavior |
Watch behavior listener. More... | |
Public Member Functions | |
float | getBoxHalfExtends () |
Box half-extends. | |
Console | getConsole () |
Console to log to or null. | |
float | getSphereRadius () |
Sphere radius. | |
DebugBehaviorActorMover | new (ECBehaviorActorMover.Instance behavior) |
Create debug instance for behavior. | |
void | onArrivedAtGoal (DVector goalPosition) |
Actor arrived at target. | |
void | onModifyMoveTowards (DVector position, float elapsed) |
Modify move towards. | |
void | onStartMoving () |
Actor starts moving. | |
void | onStopMoving () |
Actor stops moving. | |
void | removeFromBehavior () |
Remove from behavior. | |
void | setBoxHalfExtends (float halfExtends) |
Set box half-extends. | |
void | setConsole (Console console) |
Set console to log to or null. | |
void | setSphereRadius (float radius) |
Set sphere radius. | |
void | setXRay (bool xray) |
Set XRay mode. | |
Public Attributes | |
ECBehaviorActorMover.Instance | pBehavior |
float | pBoxHalfExtends |
Console | pConsole |
DebugDrawer | pDebugDrawer |
GameWorld | pGameWorld |
float | pSphereRadius |
WeakReference | pWatchBehavior |
Protected Member Functions | |
DebugDrawer | getDebugDrawer () |
Debug drawer. | |
void | updateShapeMoveTowards (DVector position) |
Update move towards debug drawer shape. | |
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.
float Dragengine.Debugging.DebugBehaviorActorMover.getBoxHalfExtends | ( | ) |
Box half-extends.
Console Dragengine.Debugging.DebugBehaviorActorMover.getConsole | ( | ) |
Console to log to or null.
|
protected |
Debug drawer.
float Dragengine.Debugging.DebugBehaviorActorMover.getSphereRadius | ( | ) |
Sphere radius.
DebugBehaviorActorMover Dragengine.Debugging.DebugBehaviorActorMover.new | ( | ECBehaviorActorMover.Instance | behavior | ) |
Create debug instance for behavior.
void Dragengine.Debugging.DebugBehaviorActorMover.onArrivedAtGoal | ( | DVector | goalPosition | ) |
Actor arrived at target.
void Dragengine.Debugging.DebugBehaviorActorMover.onModifyMoveTowards | ( | DVector | position, |
float | elapsed | ||
) |
Modify move towards.
void Dragengine.Debugging.DebugBehaviorActorMover.onStartMoving | ( | ) |
Actor starts moving.
void Dragengine.Debugging.DebugBehaviorActorMover.onStopMoving | ( | ) |
Actor stops moving.
void Dragengine.Debugging.DebugBehaviorActorMover.removeFromBehavior | ( | ) |
Remove from behavior.
void Dragengine.Debugging.DebugBehaviorActorMover.setBoxHalfExtends | ( | float | halfExtends | ) |
Set box half-extends.
void Dragengine.Debugging.DebugBehaviorActorMover.setConsole | ( | Console | console | ) |
Set console to log to or null.
void Dragengine.Debugging.DebugBehaviorActorMover.setSphereRadius | ( | float | radius | ) |
Set sphere radius.
void Dragengine.Debugging.DebugBehaviorActorMover.setXRay | ( | bool | xray | ) |
Set XRay mode.
|
protected |
Update move towards debug drawer shape.
ECBehaviorActorMover.Instance Dragengine.Debugging.DebugBehaviorActorMover.pBehavior |
float Dragengine.Debugging.DebugBehaviorActorMover.pBoxHalfExtends |
Console Dragengine.Debugging.DebugBehaviorActorMover.pConsole |
DebugDrawer Dragengine.Debugging.DebugBehaviorActorMover.pDebugDrawer |
GameWorld Dragengine.Debugging.DebugBehaviorActorMover.pGameWorld |
float Dragengine.Debugging.DebugBehaviorActorMover.pSphereRadius |
WeakReference Dragengine.Debugging.DebugBehaviorActorMover.pWatchBehavior |