|
Drag[en]gine Script Module DragonScript 1.32.1
|
Dynamic music transition. More...
Public Member Functions | |
| void | addSwitchOff (DynamicMusicSwitch switch) |
| Add off switch. | |
| void | addSwitchOn (DynamicMusicSwitch switch) |
| Add on switch. | |
| bool | areConditionsFulfilled () |
| Conditions are fulfilled. | |
| String | getPart () |
| Name of part to play if fulfilled or null to stop. | |
| DynamicMusicSwitch | getSwitchOffAt (int index) |
| Get off switch at index. | |
| int | getSwitchOffCount () |
| Number of off switchs. | |
| DynamicMusicSwitch | getSwitchOnAt (int index) |
| Get on switch at index. | |
| int | getSwitchOnCount () |
| Number of on switchs. | |
| bool | hasSwitchOff (DynamicMusicSwitch switch) |
| Off switch is present. | |
| bool | hasSwitchOn (DynamicMusicSwitch switch) |
| On switch is present. | |
| DynamicMusicTransition | new () |
| Create dynamic music transition with null part to stop playback. | |
| DynamicMusicTransition | new (String part) |
| Create dynamic music transition. | |
| void | removeAllSwitchOffs () |
| Remove all off switchs. | |
| void | removeAllSwitchOns () |
| Remove all on switchs. | |
| void | removeSwitchOff (DynamicMusicSwitch switch) |
| Remove off switch. | |
| void | removeSwitchOn (DynamicMusicSwitch switch) |
| Remove on switch. | |
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.