Drag[en]gine Script Module DragonScript
1.21
|
Dynamic music transition. More...
Public Member Functions | |
void | addSwitchOff (DynamicMusicSwitch switch) |
Add off switch. More... | |
void | addSwitchOn (DynamicMusicSwitch switch) |
Add on switch. More... | |
bool | areConditionsFulfilled () |
Conditions are fulfilled. More... | |
String | getPart () |
Name of part to play if fulfilled or null to stop. More... | |
DynamicMusicSwitch | getSwitchOffAt (int index) |
Get off switch at index. More... | |
int | getSwitchOffCount () |
Number of off switchs. More... | |
DynamicMusicSwitch | getSwitchOnAt (int index) |
Get on switch at index. More... | |
int | getSwitchOnCount () |
Number of on switchs. More... | |
bool | hasSwitchOff (DynamicMusicSwitch switch) |
Off switch is present. More... | |
bool | hasSwitchOn (DynamicMusicSwitch switch) |
On switch is present. More... | |
DynamicMusicTransition | new () |
Create dynamic music transition with null part to stop playback. More... | |
DynamicMusicTransition | new (String part) |
Create dynamic music transition. More... | |
void | removeAllSwitchOffs () |
Remove all off switchs. More... | |
void | removeAllSwitchOns () |
Remove all on switchs. More... | |
void | removeSwitchOff (DynamicMusicSwitch switch) |
Remove off switch. More... | |
void | removeSwitchOn (DynamicMusicSwitch switch) |
Remove on switch. More... | |
Dynamic music transition.
Transition to another part or null to stop playback after the current part stops. Contains a list of switches to check. Transition is fulfilled if all switches have the desired state or no switches are present.
void Dragengine.Audio.DynamicMusic.DynamicMusicTransition.addSwitchOff | ( | DynamicMusicSwitch | switch | ) |
Add off switch.
void Dragengine.Audio.DynamicMusic.DynamicMusicTransition.addSwitchOn | ( | DynamicMusicSwitch | switch | ) |
Add on switch.
bool Dragengine.Audio.DynamicMusic.DynamicMusicTransition.areConditionsFulfilled | ( | ) |
Conditions are fulfilled.
String Dragengine.Audio.DynamicMusic.DynamicMusicTransition.getPart | ( | ) |
Name of part to play if fulfilled or null to stop.
DynamicMusicSwitch Dragengine.Audio.DynamicMusic.DynamicMusicTransition.getSwitchOffAt | ( | int | index | ) |
Get off switch at index.
int Dragengine.Audio.DynamicMusic.DynamicMusicTransition.getSwitchOffCount | ( | ) |
Number of off switchs.
DynamicMusicSwitch Dragengine.Audio.DynamicMusic.DynamicMusicTransition.getSwitchOnAt | ( | int | index | ) |
Get on switch at index.
int Dragengine.Audio.DynamicMusic.DynamicMusicTransition.getSwitchOnCount | ( | ) |
Number of on switchs.
bool Dragengine.Audio.DynamicMusic.DynamicMusicTransition.hasSwitchOff | ( | DynamicMusicSwitch | switch | ) |
Off switch is present.
bool Dragengine.Audio.DynamicMusic.DynamicMusicTransition.hasSwitchOn | ( | DynamicMusicSwitch | switch | ) |
On switch is present.
DynamicMusicTransition Dragengine.Audio.DynamicMusic.DynamicMusicTransition.new | ( | ) |
Create dynamic music transition with null part to stop playback.
DynamicMusicTransition Dragengine.Audio.DynamicMusic.DynamicMusicTransition.new | ( | String | part | ) |
Create dynamic music transition.
void Dragengine.Audio.DynamicMusic.DynamicMusicTransition.removeAllSwitchOffs | ( | ) |
Remove all off switchs.
void Dragengine.Audio.DynamicMusic.DynamicMusicTransition.removeAllSwitchOns | ( | ) |
Remove all on switchs.
void Dragengine.Audio.DynamicMusic.DynamicMusicTransition.removeSwitchOff | ( | DynamicMusicSwitch | switch | ) |
Remove off switch.
void Dragengine.Audio.DynamicMusic.DynamicMusicTransition.removeSwitchOn | ( | DynamicMusicSwitch | switch | ) |
Remove on switch.