Drag[en]gine Script Module DragonScript
1.23
|
Foot step configuration. More...
Public Member Functions | |
void | addEvent (Event event) |
Add event. More... | |
Event | findEvent (Block ablock) |
Find event with block receiving argument Event returning true if found. More... | |
void | forEachEvent (Block ablock) |
Visit events with block receiving argument Event. More... | |
Event | getEventAt (int index) |
Event at index. More... | |
int | getEventCount () |
Number of events. More... | |
String | getID () |
ID. More... | |
float | getInterval () |
Interval in seconds before foot steps repeat. More... | |
Configuration | new (String id) |
Create foot steps configuration. More... | |
void | removeAllEvents () |
Remove all events. More... | |
void | removeEvent (Event event) |
Remove event. More... | |
void | setInterval (float interval) |
Set interval in seconds before foot steps repeat. More... | |
Public Attributes | |
Array | pEvents |
String | pID |
float | pInterval |
Foot step configuration.
Stores interval and events for a type of foot steps.
void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.addEvent | ( | Event | event | ) |
Add event.
Event Dragengine.Scenery.ECBehaviorFootSteps.Configuration.findEvent | ( | Block | ablock | ) |
Find event with block receiving argument Event returning true if found.
void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.forEachEvent | ( | Block | ablock | ) |
Visit events with block receiving argument Event.
int Dragengine.Scenery.ECBehaviorFootSteps.Configuration.getEventCount | ( | ) |
Number of events.
String Dragengine.Scenery.ECBehaviorFootSteps.Configuration.getID | ( | ) |
ID.
float Dragengine.Scenery.ECBehaviorFootSteps.Configuration.getInterval | ( | ) |
Interval in seconds before foot steps repeat.
Configuration Dragengine.Scenery.ECBehaviorFootSteps.Configuration.new | ( | String | id | ) |
Create foot steps configuration.
void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.removeAllEvents | ( | ) |
Remove all events.
void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.removeEvent | ( | Event | event | ) |
Remove event.
void Dragengine.Scenery.ECBehaviorFootSteps.Configuration.setInterval | ( | float | interval | ) |
Set interval in seconds before foot steps repeat.
Clamped to 0.1 if smaller.
Array Dragengine.Scenery.ECBehaviorFootSteps.Configuration.pEvents |
String Dragengine.Scenery.ECBehaviorFootSteps.Configuration.pID |
float Dragengine.Scenery.ECBehaviorFootSteps.Configuration.pInterval |