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

Debug ECBehaviorLookAt. More...

Inheritance diagram for Dragengine.Debugging.DebugBehaviorLookAt:

Classes

class  LookAtDebugInfo
 Debug information. More...
 
class  WatchBehavior
 Watch behavior listener. More...
 

Public Member Functions

DebugBehaviorLookAt destructor ()
 Destructor. More...
 
DebugBehaviorLookAt new (ECBehaviorLookAt.Instance behavior, Console console)
 Create debug instance for behavior. More...
 
DebugBehaviorLookAt new (ECBehaviorLookAt.Instance behavior, PanelDebugInformation panelDebugInfo)
 Create debug instance for behavior. More...
 
void onEnabledChanged ()
 
void onLookAtChanged ()
 
void removeFromBehavior ()
 Remove from behavior. More...
 

Public Attributes

ECBehaviorLookAt.Instance pBehavior
 
Console pConsole
 
String pLabel
 
String pLookAtBone
 
LookAtDebugInfo pLookAtDebugInfo
 
Element pLookAtElement
 
PanelDebugInformation pPanelDebugInformation
 
WeakReference pWatchBehavior
 

Detailed Description

Debug ECBehaviorLookAt.

To use create an instance of DebugBehaviorLookAt with the behavior to attach to. Attaches a listener to the behavior and adds a debug information overlay to the screen showing what element the behavior is looking at right now. If no debug information is available uses the console instead.

Member Function Documentation

◆ destructor()

DebugBehaviorLookAt Dragengine.Debugging.DebugBehaviorLookAt.destructor ( )

Destructor.

◆ new() [1/2]

DebugBehaviorLookAt Dragengine.Debugging.DebugBehaviorLookAt.new ( ECBehaviorLookAt.Instance  behavior,
Console  console 
)

Create debug instance for behavior.

◆ new() [2/2]

DebugBehaviorLookAt Dragengine.Debugging.DebugBehaviorLookAt.new ( ECBehaviorLookAt.Instance  behavior,
PanelDebugInformation  panelDebugInfo 
)

Create debug instance for behavior.

◆ onEnabledChanged()

void Dragengine.Debugging.DebugBehaviorLookAt.onEnabledChanged ( )

◆ onLookAtChanged()

void Dragengine.Debugging.DebugBehaviorLookAt.onLookAtChanged ( )

◆ removeFromBehavior()

void Dragengine.Debugging.DebugBehaviorLookAt.removeFromBehavior ( )

Remove from behavior.

Member Data Documentation

◆ pBehavior

ECBehaviorLookAt.Instance Dragengine.Debugging.DebugBehaviorLookAt.pBehavior

◆ pConsole

Console Dragengine.Debugging.DebugBehaviorLookAt.pConsole

◆ pLabel

String Dragengine.Debugging.DebugBehaviorLookAt.pLabel

◆ pLookAtBone

String Dragengine.Debugging.DebugBehaviorLookAt.pLookAtBone

◆ pLookAtDebugInfo

LookAtDebugInfo Dragengine.Debugging.DebugBehaviorLookAt.pLookAtDebugInfo

◆ pLookAtElement

Element Dragengine.Debugging.DebugBehaviorLookAt.pLookAtElement

◆ pPanelDebugInformation

PanelDebugInformation Dragengine.Debugging.DebugBehaviorLookAt.pPanelDebugInformation

◆ pWatchBehavior

WeakReference Dragengine.Debugging.DebugBehaviorLookAt.pWatchBehavior

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