|
Drag[en]gine Script Module DragonScript 1.32.1
|
Definition of synthesizer source. More...
Public Member Functions | |
| void | addEffect (SDEffect effect) |
| Add effect. | |
| void | addTargetLink (SDSourceTargetLink targetLink) |
| Add target link. | |
| void | debug (Console console) |
| void | forEachEffect (Block ablock) |
| Visit effects using a block. | |
| void | forEachTarget (Block ablock) |
| Visit targets with a block. | |
| float | getBlendFactor () |
| Blend factor. | |
| SDEffect | getEffectAt (int index) |
| Effect at index. | |
| int | getEffectCount () |
| Number of effects. | |
| float | getMaxPanning () |
| Maximum panning. | |
| float | getMaxVolume () |
| Maximum volume. | |
| float | getMinPanning () |
| Minimum panning. | |
| float | getMinVolume () |
| Minimum volume. | |
| SynthesizerSourceMix | getMixMode () |
| Mix mode. | |
| String | getName () |
| Name of source. | |
| SDSourceTargetLink | getTargetLinkAt (int index) |
| Target link at index. | |
| int | getTargetLinkCount () |
| Number of target links. | |
| SDSource | new () |
| Create synthesizer source definition. | |
| void | removeAllEffects () |
| Remove all effects. | |
| void | removeEffect (SDEffect effect) |
| Remove effect. | |
| void | setBlendFactor (float factor) |
| Set blend factor. | |
| void | setEnabled (bool enabled) |
| Set if source is enabled. | |
| void | setMaxPanning (float panning) |
| Set maximum panning. | |
| void | setMaxVolume (float volume) |
| Set maximum volume. | |
| void | setMinPanning (float panning) |
| Set minimum panning. | |
| void | setMinVolume (float volume) |
| Set minimum volume. | |
| void | setMixMode (SynthesizerSourceMix mode) |
| Set mix mode. | |
| void | setName (String name) |
| Set name of source. | |
Protected Member Functions | |
| String | debugCommon (Console console, String type) |
Definition of synthesizer source.
Once defined a source can be added to an synthesizer using the stored definition. This is the base source class with the properties shared amongst all source types.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.addEffect | ( | SDEffect | effect | ) |
Add effect.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.addTargetLink | ( | SDSourceTargetLink | targetLink | ) |
Add target link.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.debug | ( | Console | console | ) |
|
protected |
| void Dragengine.Audio.SynthesizerDefinition.SDSource.forEachEffect | ( | Block | ablock | ) |
Visit effects using a block.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.forEachTarget | ( | Block | ablock | ) |
Visit targets with a block.
| float Dragengine.Audio.SynthesizerDefinition.SDSource.getBlendFactor | ( | ) |
Blend factor.
| SDEffect Dragengine.Audio.SynthesizerDefinition.SDSource.getEffectAt | ( | int | index | ) |
Effect at index.
| int Dragengine.Audio.SynthesizerDefinition.SDSource.getEffectCount | ( | ) |
Number of effects.
| float Dragengine.Audio.SynthesizerDefinition.SDSource.getMaxPanning | ( | ) |
Maximum panning.
| float Dragengine.Audio.SynthesizerDefinition.SDSource.getMaxVolume | ( | ) |
Maximum volume.
| float Dragengine.Audio.SynthesizerDefinition.SDSource.getMinPanning | ( | ) |
Minimum panning.
| float Dragengine.Audio.SynthesizerDefinition.SDSource.getMinVolume | ( | ) |
Minimum volume.
| SynthesizerSourceMix Dragengine.Audio.SynthesizerDefinition.SDSource.getMixMode | ( | ) |
Mix mode.
| String Dragengine.Audio.SynthesizerDefinition.SDSource.getName | ( | ) |
Name of source.
| SDSourceTargetLink Dragengine.Audio.SynthesizerDefinition.SDSource.getTargetLinkAt | ( | int | index | ) |
Target link at index.
| int Dragengine.Audio.SynthesizerDefinition.SDSource.getTargetLinkCount | ( | ) |
Number of target links.
| SDSource Dragengine.Audio.SynthesizerDefinition.SDSource.new | ( | ) |
Create synthesizer source definition.
Reimplemented in Dragengine.Audio.SynthesizerDefinition.SDSourceChain, Dragengine.Audio.SynthesizerDefinition.SDSourceGroup, Dragengine.Audio.SynthesizerDefinition.SDSourceSound, Dragengine.Audio.SynthesizerDefinition.SDSourceSynthesizer, and Dragengine.Audio.SynthesizerDefinition.SDSourceWave.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.removeAllEffects | ( | ) |
Remove all effects.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.removeEffect | ( | SDEffect | effect | ) |
Remove effect.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.setBlendFactor | ( | float | factor | ) |
Set blend factor.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.setEnabled | ( | bool | enabled | ) |
Set if source is enabled.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.setMaxPanning | ( | float | panning | ) |
Set maximum panning.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.setMaxVolume | ( | float | volume | ) |
Set maximum volume.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.setMinPanning | ( | float | panning | ) |
Set minimum panning.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.setMinVolume | ( | float | volume | ) |
Set minimum volume.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.setMixMode | ( | SynthesizerSourceMix | mode | ) |
Set mix mode.
| void Dragengine.Audio.SynthesizerDefinition.SDSource.setName | ( | String | name | ) |
Set name of source.