Drag[en]gine Script Module DragonScript  1.23
Dragengine.Audio.SynthesizerDefinition.SDSourceGroup Class Reference

Definition of a group synthesizer source. More...

Inheritance diagram for Dragengine.Audio.SynthesizerDefinition.SDSourceGroup:
Dragengine.Audio.SynthesizerDefinition.SDSource

Public Member Functions

void addSource (SDSource source)
 Add source. More...
 
void debug (Console console)
 
void forEachSource (Block ablock)
 Visit sources using a block. More...
 
SSGroupApplication getApplicationType ()
 Application type. More...
 
SDSource getSourceAt (int index)
 Source at index. More...
 
int getSourceCount ()
 Number of sources. More...
 
SDSourceGroup new ()
 Create synthesizer source definition. More...
 
void removeAllSources ()
 Remove all sources. More...
 
void removeSource (SDSource source)
 Remove source. More...
 
void setApplicationType (SSGroupApplication applicationType)
 Set application type. More...
 
- Public Member Functions inherited from Dragengine.Audio.SynthesizerDefinition.SDSource
void addEffect (SDEffect effect)
 Add effect. More...
 
void addTargetLink (SDSourceTargetLink targetLink)
 Add target link. More...
 
void forEachEffect (Block ablock)
 Visit effects using a block. More...
 
void forEachTarget (Block ablock)
 Visit targets with a block. More...
 
float getBlendFactor ()
 Blend factor. More...
 
SDEffect getEffectAt (int index)
 Effect at index. More...
 
int getEffectCount ()
 Number of effects. More...
 
float getMaxPanning ()
 Maximum panning. More...
 
float getMaxVolume ()
 Maximum volume. More...
 
float getMinPanning ()
 Minimum panning. More...
 
float getMinVolume ()
 Minimum volume. More...
 
SynthesizerSourceMix getMixMode ()
 Mix mode. More...
 
String getName ()
 Name of source. More...
 
SDSourceTargetLink getTargetLinkAt (int index)
 Target link at index. More...
 
int getTargetLinkCount ()
 Number of target links. More...
 
void removeAllEffects ()
 Remove all effects. More...
 
void removeEffect (SDEffect effect)
 Remove effect. More...
 
void setBlendFactor (float factor)
 Set blend factor. More...
 
void setEnabled (bool enabled)
 Set if source is enabled. More...
 
void setMaxPanning (float panning)
 Set maximum panning. More...
 
void setMaxVolume (float volume)
 Set maximum volume. More...
 
void setMinPanning (float panning)
 Set minimum panning. More...
 
void setMinVolume (float volume)
 Set minimum volume. More...
 
void setMixMode (SynthesizerSourceMix mode)
 Set mix mode. More...
 
void setName (String name)
 Set name of source. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Dragengine.Audio.SynthesizerDefinition.SDSource
String debugCommon (Console console, String type)
 

Detailed Description

Definition of a group synthesizer source.

Once defined a source can be added to an synthesizer using the stored definition.

Member Function Documentation

◆ addSource()

void Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.addSource ( SDSource  source)

Add source.

◆ debug()

void Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.debug ( Console  console)

◆ forEachSource()

void Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.forEachSource ( Block  ablock)

Visit sources using a block.

◆ getApplicationType()

SSGroupApplication Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.getApplicationType ( )

Application type.

◆ getSourceAt()

SDSource Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.getSourceAt ( int  index)

Source at index.

◆ getSourceCount()

int Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.getSourceCount ( )

Number of sources.

◆ new()

SDSourceGroup Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.new ( )

Create synthesizer source definition.

Reimplemented from Dragengine.Audio.SynthesizerDefinition.SDSource.

◆ removeAllSources()

void Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.removeAllSources ( )

Remove all sources.

◆ removeSource()

void Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.removeSource ( SDSource  source)

Remove source.

◆ setApplicationType()

void Dragengine.Audio.SynthesizerDefinition.SDSourceGroup.setApplicationType ( SSGroupApplication  applicationType)

Set application type.


The documentation for this class was generated from the following file: