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

Behavior instance. More...

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

Public Member Functions

void addToGameWorld ()
 Add element to game world.
void dispose ()
 Dispose of behavior instance.
Color getColor ()
 Outline color.
Component getComponent ()
 Outline component.
DynamicSkin getDynamicSkin ()
 Dynamic skin.
ECBehaviorOutline getECBehavior ()
 Behavior.
float getIntensity ()
 Outline emissivity intensity.
Skin getSkin ()
 Outline skin.
float getThickness ()
 Outline emissivity thickness.
bool getVisible ()
 Outline is visible.
void init (StubElement stub)
 Initialize element from stub.
Instance new (ECBehaviorOutline ecbehavior, BehaviorElement element)
 Create element.
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read behavior from file.
void removeFromGameWorld ()
 Remove element from game world.
void setColor (Color color)
 Set outline color.
void setIntensity (float intensity)
 Set outline emissivity intensity.
void setSkin (Skin skin)
 Set outline skin.
void setThickness (float thickness)
 Set outline emissivity thickness.
void setVisible (bool visible)
 Set if outline is visible.
void stateChanged ()
 State changed (visble, touchable).
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write behavior to file.
Public Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
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.
bool requiresEnterFrame ()
 Behavior instance requires enterFrame() to be called.
bool requiresThink ()
 Behavior instance requires think() to be called.
void think (float elapsed)
 Think about what to do for the next frame update.

Public Attributes

ECComposeBTSM.Instance pBTSMs
Color pColor
Component pComponent
DynamicSkin pDynamicSkin
ECBehaviorOutline pECBehavior
float pIntensity
Skin pSkin
float pThickness
bool pVisible
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

◆ addToGameWorld()

void Dragengine.Scenery.ECBehaviorOutline.Instance.addToGameWorld ( )

Add element to game world.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

References init().

◆ dispose()

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

Dispose of behavior instance.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

References setThickness().

Referenced by setVisible(), and stateChanged().

◆ getColor()

Color Dragengine.Scenery.ECBehaviorOutline.Instance.getColor ( )

Outline color.

Referenced by readFromFile().

◆ getComponent()

Component Dragengine.Scenery.ECBehaviorOutline.Instance.getComponent ( )

Outline component.

Referenced by removeFromGameWorld().

◆ getDynamicSkin()

DynamicSkin Dragengine.Scenery.ECBehaviorOutline.Instance.getDynamicSkin ( )

Dynamic skin.

References new().

◆ getECBehavior()

ECBehaviorOutline Dragengine.Scenery.ECBehaviorOutline.Instance.getECBehavior ( )

Behavior.

◆ getIntensity()

float Dragengine.Scenery.ECBehaviorOutline.Instance.getIntensity ( )

Outline emissivity intensity.

References pECBehavior.

Referenced by readFromFile().

◆ getSkin()

Skin Dragengine.Scenery.ECBehaviorOutline.Instance.getSkin ( )

Outline skin.

References Dragengine.Scenery.ECBehaviorOutline.instance().

Referenced by readFromFile().

◆ getThickness()

float Dragengine.Scenery.ECBehaviorOutline.Instance.getThickness ( )

Outline emissivity thickness.

References pColor, pIntensity, and pThickness.

Referenced by writeToFile().

◆ getVisible()

bool Dragengine.Scenery.ECBehaviorOutline.Instance.getVisible ( )

Outline is visible.

Referenced by setSkin().

◆ init()

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

Initialize element from stub.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

Referenced by addToGameWorld().

◆ new()

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

Create element.

Referenced by getDynamicSkin(), and setVisible().

◆ readFromFile()

void Dragengine.Scenery.ECBehaviorOutline.Instance.readFromFile ( PersistencyEnvironment env,
FileReader reader )

Read behavior from file.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

References getColor(), getIntensity(), getSkin(), pColor, pECBehavior, pIntensity, and pSkin.

◆ removeFromGameWorld()

void Dragengine.Scenery.ECBehaviorOutline.Instance.removeFromGameWorld ( )

◆ setColor()

void Dragengine.Scenery.ECBehaviorOutline.Instance.setColor ( Color color)

Set outline color.

◆ setIntensity()

void Dragengine.Scenery.ECBehaviorOutline.Instance.setIntensity ( float intensity)

Set outline emissivity intensity.

References pComponent, pDynamicSkin, and pSkin.

◆ setSkin()

void Dragengine.Scenery.ECBehaviorOutline.Instance.setSkin ( Skin skin)

Set outline skin.

References getVisible().

◆ setThickness()

void Dragengine.Scenery.ECBehaviorOutline.Instance.setThickness ( float thickness)

Set outline emissivity thickness.

References pBTSMs, and pVisible.

Referenced by dispose().

◆ setVisible()

void Dragengine.Scenery.ECBehaviorOutline.Instance.setVisible ( bool visible)

Set if outline is visible.

References dispose(), new(), and pECBehavior.

◆ stateChanged()

void Dragengine.Scenery.ECBehaviorOutline.Instance.stateChanged ( )

State changed (visble, touchable).

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

References dispose(), and pBTSMs.

◆ writeToFile()

void Dragengine.Scenery.ECBehaviorOutline.Instance.writeToFile ( PersistencyEnvironment env,
FileWriter writer )

Member Data Documentation

◆ pBTSMs

ECComposeBTSM.Instance Dragengine.Scenery.ECBehaviorOutline.Instance.pBTSMs

Referenced by setThickness(), and stateChanged().

◆ pColor

Color Dragengine.Scenery.ECBehaviorOutline.Instance.pColor

Referenced by getThickness(), and readFromFile().

◆ pComponent

Component Dragengine.Scenery.ECBehaviorOutline.Instance.pComponent

Referenced by setIntensity().

◆ pDynamicSkin

DynamicSkin Dragengine.Scenery.ECBehaviorOutline.Instance.pDynamicSkin

Referenced by setIntensity().

◆ pECBehavior

ECBehaviorOutline Dragengine.Scenery.ECBehaviorOutline.Instance.pECBehavior

◆ pIntensity

float Dragengine.Scenery.ECBehaviorOutline.Instance.pIntensity

Referenced by getThickness(), and readFromFile().

◆ pSkin

Skin Dragengine.Scenery.ECBehaviorOutline.Instance.pSkin

Referenced by readFromFile(), and setIntensity().

◆ pThickness

float Dragengine.Scenery.ECBehaviorOutline.Instance.pThickness

Referenced by getThickness(), and writeToFile().

◆ pVisible

bool Dragengine.Scenery.ECBehaviorOutline.Instance.pVisible

Referenced by setThickness().


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