Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.ECBehaviorVRHud.Instance Class Reference

Behavior instance. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorVRHud.Instance:
Dragengine.Scenery.DefaultECBehaviorInstance Dragengine.Scenery.ECBehaviorInstance

Classes

class  PlayerTakesControl
 Watch player controllable behavior. More...

Public Member Functions

void activate ()
 Activate HUD if not active.
void deactivate ()
 Deactivate HUD if active.
void dispose ()
 Dispose of behavior instance.
Panel getPanel ()
 Panel to add widgets to.
void init (StubElement stub)
 Initialize behavior from stub.
bool isActive ()
 HUD is active.
Instance new (ECBehaviorVRHud ecbehavior, BehaviorElement element)
 Create behavior instance.
Public Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
void addToGameWorld ()
 Add element to game world.
void attachToParent (Element parent)
 Attach element to object set by the mapper in the IGDE World Editor.
void enterFrame ()
 Frame update started.
void geometryChanged ()
 Position or orientation changed.
BehaviorElement getElement ()
 Behavior element to apply behavior to.
int getInstanceIndex ()
 Behavior instance index.
DefaultECBehaviorInstance new (BehaviorElement element)
 Create default composeable instance.
void postThink (float elapsed)
 Post thinking after physics processing is finished.
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read behavior instance from file.
void removeFromGameWorld ()
 Remove element from game world.
bool requiresEnterFrame ()
 Behavior instance requires enterFrame() to be called.
bool requiresThink ()
 Behavior instance requires think() to be called.
void stateChanged ()
 State changed (visble, touchable).
void think (float elapsed)
 Think about what to do for the next frame update.
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write behavior instance to file.

Public Attributes

bool pActive
ECBehaviorVRHud pECBehavior
Panel pPanel
Public Attributes inherited from Dragengine.Scenery.DefaultECBehaviorInstance
BehaviorElement pElement
int pInstanceIndex
bool pRequiresEnterFrame
bool pRequiresThink

Additional Inherited Members

Protected Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
void setRequiresEnterFrame (bool required)
 Set if behavior instance requires enterFrame() to be called.
void setRequiresThink (bool required)
 Set if behavior instance requires think() to be called.

Detailed Description

Behavior instance.

Member Function Documentation

◆ activate()

void Dragengine.Scenery.ECBehaviorVRHud.Instance.activate ( )

Activate HUD if not active.

References new(), and pECBehavior.

Referenced by dispose().

◆ deactivate()

void Dragengine.Scenery.ECBehaviorVRHud.Instance.deactivate ( )

Deactivate HUD if active.

References dispose().

Referenced by init().

◆ dispose()

void Dragengine.Scenery.ECBehaviorVRHud.Instance.dispose ( )

Dispose of behavior instance.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

References activate().

Referenced by deactivate().

◆ getPanel()

Panel Dragengine.Scenery.ECBehaviorVRHud.Instance.getPanel ( )

Panel to add widgets to.

References pECBehavior, and pPanel.

◆ init()

void Dragengine.Scenery.ECBehaviorVRHud.Instance.init ( StubElement stub)

Initialize behavior from stub.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

References deactivate().

◆ isActive()

bool Dragengine.Scenery.ECBehaviorVRHud.Instance.isActive ( )

HUD is active.

References pActive.

◆ new()

Instance Dragengine.Scenery.ECBehaviorVRHud.Instance.new ( ECBehaviorVRHud ecbehavior,
BehaviorElement element )

Create behavior instance.

Referenced by activate().

Member Data Documentation

◆ pActive

bool Dragengine.Scenery.ECBehaviorVRHud.Instance.pActive

Referenced by isActive().

◆ pECBehavior

ECBehaviorVRHud Dragengine.Scenery.ECBehaviorVRHud.Instance.pECBehavior

Referenced by activate(), and getPanel().

◆ pPanel

Panel Dragengine.Scenery.ECBehaviorVRHud.Instance.pPanel

Referenced by getPanel().


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