Behavior instance.
More...
|
void | setClamp (bool clamp) |
| Set prevent wrapping around when cycling skins.
|
|
void | setSkin (Skin skin) |
| Set skin.
|
|
void | setTexture (String texture) |
| Set name of component texture to modify or empty string to modify entire component.
|
|
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.
|
|
◆ activateNext() [1/2]
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.activateNext |
( |
| ) |
|
Cycle to the next active skin.
If clamp is true stops at the end of the list otherwise wraps back to the begin.
◆ activateNext() [2/2]
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.activateNext |
( |
int |
distance | ) |
|
Cycle active skin by distance.
If clamp is true stops at the begin and end of the list otherwise wraps around. distance can be positive or negative or 0 to do no switching.
◆ activatePrevious()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.activatePrevious |
( |
| ) |
|
Cycle to the previous active skin.
If clamp is true stops at the begin of the list otherwise wraps back to the end.
◆ dispose()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.dispose |
( |
| ) |
|
◆ getActive()
int Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.getActive |
( |
| ) |
|
◆ getClamp()
bool Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.getClamp |
( |
| ) |
|
Prevent wrapping around when cycling skins.
◆ getComponent()
ECBehaviorComponent.Instance Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.getComponent |
( |
| ) |
|
◆ getTexture()
String Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.getTexture |
( |
| ) |
|
Name of component texture to modify or empty string to modify entire component.
◆ init()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.init |
( |
StubElement |
stub | ) |
|
◆ new()
◆ readFromFile()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.readFromFile |
( |
PersistencyEnvironment |
env, |
|
|
FileReader |
reader |
|
) |
| |
◆ setActive()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.setActive |
( |
int |
index | ) |
|
Set index of active skin.
◆ setClamp()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.setClamp |
( |
bool |
clamp | ) |
|
|
protected |
Set prevent wrapping around when cycling skins.
◆ setSkin()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.setSkin |
( |
Skin |
skin | ) |
|
|
protected |
◆ setTexture()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.setTexture |
( |
String |
texture | ) |
|
|
protected |
Set name of component texture to modify or empty string to modify entire component.
◆ writeToFile()
void Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.writeToFile |
( |
PersistencyEnvironment |
env, |
|
|
FileWriter |
writer |
|
) |
| |
◆ pActive
int Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.pActive |
◆ pClamp
bool Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.pClamp |
◆ pComponent
ECBehaviorComponent.Instance Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.pComponent |
◆ pECBehavior
◆ pSkins
Array Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.pSkins |
◆ pTexture
String Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance.pTexture |
The documentation for this class was generated from the following file: