Drag[en]gine Script Module DragonScript
1.23
|
Composable speaker for element class. More...
Public Member Functions | |
Speaker | createSpeaker () |
Create speaker. More... | |
Speaker | createSpeaker (Element element, StubElement stub) |
Initialize speaker for element from stub. More... | |
TSTriggerExpression | createTriggerMuted (Element element, StubElement stub) |
Create muted speaker trigger expression from stub or null if not used. More... | |
TSTriggerExpression | createTriggerMuted (Element element, StubElement stub, String defaultValue) |
Create muted speaker trigger expression from stub or null if not used. More... | |
TSTriggerExpression | createTriggerPlaying (Element element, StubElement stub) |
Create playing speaker trigger expression from stub or null if not used. More... | |
TSTriggerExpression | createTriggerPlaying (Element element, StubElement stub, String defaultValue) |
Create playing speaker trigger expression from stub or null if not used. More... | |
ECPFloat | getDistanceOffset () |
Distance offset. More... | |
LayerMask | getLayerMask () |
Layer mask. More... | |
ECPBoolean | getLooping () |
Speaker is looping. More... | |
ECPBoolean | getMuted () |
Speaker is muted. More... | |
ECPBoolean | getPlaying () |
Speaker is playing. More... | |
ECPFloat | getPlaySpeed () |
Play speed. More... | |
String | getPrefix () |
Property prefix. More... | |
ECPFloat | getRange () |
Speaker range. More... | |
ECPFloat | getRollOff () |
Roll off. More... | |
ECPShapeList | getShape () |
Speaker shape. More... | |
ECPSound | getSound () |
Speaker sound. More... | |
ECPEnumeration | getSpeakerType () |
Speaker type. More... | |
ECPSynthesizer | getSynthesizer () |
Speaker synthesizer. More... | |
ECPFloat | getVolume () |
Speaker volume. More... | |
ECComposeSpeaker | new (ElementClass ownerClass, Loaders loaders) |
Create composable element class. More... | |
ECComposeSpeaker | new (ElementClass ownerClass, Loaders loaders, String prefix) |
Create composable element class. More... | |
void | setLayerMask (LayerMask layerMask) |
Set layer mask. More... | |
Composable speaker for element class.
Provides speaker support to element class without subclassing from a specific class.
Speaker Dragengine.Scenery.ECComposeSpeaker.createSpeaker | ( | ) |
Create speaker.
Speaker Dragengine.Scenery.ECComposeSpeaker.createSpeaker | ( | Element | element, |
StubElement | stub | ||
) |
Initialize speaker for element from stub.
TSTriggerExpression Dragengine.Scenery.ECComposeSpeaker.createTriggerMuted | ( | Element | element, |
StubElement | stub | ||
) |
Create muted speaker trigger expression from stub or null if not used.
TSTriggerExpression Dragengine.Scenery.ECComposeSpeaker.createTriggerMuted | ( | Element | element, |
StubElement | stub, | ||
String | defaultValue | ||
) |
Create muted speaker trigger expression from stub or null if not used.
TSTriggerExpression Dragengine.Scenery.ECComposeSpeaker.createTriggerPlaying | ( | Element | element, |
StubElement | stub | ||
) |
Create playing speaker trigger expression from stub or null if not used.
TSTriggerExpression Dragengine.Scenery.ECComposeSpeaker.createTriggerPlaying | ( | Element | element, |
StubElement | stub, | ||
String | defaultValue | ||
) |
Create playing speaker trigger expression from stub or null if not used.
ECPFloat Dragengine.Scenery.ECComposeSpeaker.getDistanceOffset | ( | ) |
Distance offset.
LayerMask Dragengine.Scenery.ECComposeSpeaker.getLayerMask | ( | ) |
Layer mask.
ECPBoolean Dragengine.Scenery.ECComposeSpeaker.getLooping | ( | ) |
Speaker is looping.
ECPBoolean Dragengine.Scenery.ECComposeSpeaker.getMuted | ( | ) |
Speaker is muted.
ECPBoolean Dragengine.Scenery.ECComposeSpeaker.getPlaying | ( | ) |
Speaker is playing.
ECPFloat Dragengine.Scenery.ECComposeSpeaker.getPlaySpeed | ( | ) |
Play speed.
String Dragengine.Scenery.ECComposeSpeaker.getPrefix | ( | ) |
Property prefix.
ECPFloat Dragengine.Scenery.ECComposeSpeaker.getRollOff | ( | ) |
Roll off.
ECPShapeList Dragengine.Scenery.ECComposeSpeaker.getShape | ( | ) |
Speaker shape.
ECPEnumeration Dragengine.Scenery.ECComposeSpeaker.getSpeakerType | ( | ) |
Speaker type.
ECPSynthesizer Dragengine.Scenery.ECComposeSpeaker.getSynthesizer | ( | ) |
Speaker synthesizer.
ECComposeSpeaker Dragengine.Scenery.ECComposeSpeaker.new | ( | ElementClass | ownerClass, |
Loaders | loaders | ||
) |
Create composable element class.
Adds all properties to ownerClass. If you do not want a property to be configurable using XML subclassing use ownerClass.removeProperty() to remove them.
ECComposeSpeaker Dragengine.Scenery.ECComposeSpeaker.new | ( | ElementClass | ownerClass, |
Loaders | loaders, | ||
String | prefix | ||
) |
Create composable element class.
Adds all properties to ownerClass. If you do not want a property to be configurable using XML subclassing use ownerClass.removeProperty() to remove them.
void Dragengine.Scenery.ECComposeSpeaker.setLayerMask | ( | LayerMask | layerMask | ) |
Set layer mask.