Drag[en]gine Script Module DragonScript
1.21
|
Behavior instance. More...
Public Member Functions | |
void | addToGameWorld () |
Add element to game world. More... | |
Color | getColor () |
Outline color. More... | |
Component | getComponent () |
Outline component. More... | |
DynamicSkin | getDynamicSkin () |
Dynamic skin. More... | |
ECBehaviorOutline | getECBehavior () |
Behavior. More... | |
float | getIntensity () |
Outline emissivity intensity. More... | |
Skin | getSkin () |
Outline skin. More... | |
float | getThickness () |
Outline emissivity thickness. More... | |
bool | getVisible () |
Outline is visible. More... | |
void | init (StubElement stub) |
Initialize element from stub. More... | |
Instance | new (ECBehaviorOutline ecbehavior, BehaviorElement element) |
Create element. More... | |
void | readFromFile (PersistencyEnvironment env, FileReader reader) |
Read behavior from file. More... | |
void | removeFromGameWorld () |
Remove element from game world. More... | |
void | setColor (Color color) |
Set outline color. More... | |
void | setIntensity (float intensity) |
Set outline emissivity intensity. More... | |
void | setSkin (Skin skin) |
Set outline skin. More... | |
void | setThickness (float thickness) |
Set outline emissivity thickness. More... | |
void | setVisible (bool visible) |
Set if outline is visible. More... | |
void | stateChanged () |
State changed (visble, touchable). More... | |
void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
Write behavior to file. More... | |
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. More... | |
void | dispose () |
Dispose of behavior instance. More... | |
void | enterFrame () |
Frame update started. More... | |
void | geometryChanged () |
Position or orientation changed. More... | |
BehaviorElement | getElement () |
Behavior element to apply behavior to. More... | |
int | getInstanceIndex () |
Behavior instance index. More... | |
DefaultECBehaviorInstance | new (BehaviorElement element) |
Create default composeable instance. More... | |
void | postThink (float elapsed) |
Post thinking after physics processing is finished. More... | |
bool | requiresEnterFrame () |
Behavior instance requires enterFrame() to be called. More... | |
bool | requiresThink () |
Behavior instance requires think() to be called. More... | |
void | think (float elapsed) |
Think about what to do for the next frame update. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance | |
void | setRequiresEnterFrame (bool required) |
Set if behavior instance requires enterFrame() to be called. More... | |
void | setRequiresThink (bool required) |
Set if behavior instance requires think() to be called. More... | |
Behavior instance.
void Dragengine.Scenery.ECBehaviorOutline.Instance.addToGameWorld | ( | ) |
Add element to game world.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
Color Dragengine.Scenery.ECBehaviorOutline.Instance.getColor | ( | ) |
Outline color.
Component Dragengine.Scenery.ECBehaviorOutline.Instance.getComponent | ( | ) |
Outline component.
DynamicSkin Dragengine.Scenery.ECBehaviorOutline.Instance.getDynamicSkin | ( | ) |
Dynamic skin.
ECBehaviorOutline Dragengine.Scenery.ECBehaviorOutline.Instance.getECBehavior | ( | ) |
Behavior.
float Dragengine.Scenery.ECBehaviorOutline.Instance.getIntensity | ( | ) |
Outline emissivity intensity.
Skin Dragengine.Scenery.ECBehaviorOutline.Instance.getSkin | ( | ) |
Outline skin.
float Dragengine.Scenery.ECBehaviorOutline.Instance.getThickness | ( | ) |
Outline emissivity thickness.
bool Dragengine.Scenery.ECBehaviorOutline.Instance.getVisible | ( | ) |
Outline is visible.
void Dragengine.Scenery.ECBehaviorOutline.Instance.init | ( | StubElement | stub | ) |
Initialize element from stub.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
Instance Dragengine.Scenery.ECBehaviorOutline.Instance.new | ( | ECBehaviorOutline | ecbehavior, |
BehaviorElement | element | ||
) |
Create element.
void Dragengine.Scenery.ECBehaviorOutline.Instance.readFromFile | ( | PersistencyEnvironment | env, |
FileReader | reader | ||
) |
Read behavior from file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorOutline.Instance.removeFromGameWorld | ( | ) |
Remove element from game world.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorOutline.Instance.setColor | ( | Color | color | ) |
Set outline color.
void Dragengine.Scenery.ECBehaviorOutline.Instance.setIntensity | ( | float | intensity | ) |
Set outline emissivity intensity.
void Dragengine.Scenery.ECBehaviorOutline.Instance.setSkin | ( | Skin | skin | ) |
Set outline skin.
void Dragengine.Scenery.ECBehaviorOutline.Instance.setThickness | ( | float | thickness | ) |
Set outline emissivity thickness.
void Dragengine.Scenery.ECBehaviorOutline.Instance.setVisible | ( | bool | visible | ) |
Set if outline is visible.
void Dragengine.Scenery.ECBehaviorOutline.Instance.stateChanged | ( | ) |
State changed (visble, touchable).
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorOutline.Instance.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write behavior to file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.