Drag[en]gine Script Module DragonScript
1.23
|
Debug ECBehaviorActorMover. More...
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... | |
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.
|
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.setSphereRadius | ( | float | radius | ) |
Set sphere radius.
void Dragengine.Debugging.DebugBehaviorActorMover.setXRay | ( | bool | xray | ) |
Set XRay mode.
|
protected |
Update move towards debug drawer shape.