Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Audio.SynthesizerDefinition.SDEffect Class Reference

Definition of synthesizer effect. More...

Inheritance diagram for Dragengine.Audio.SynthesizerDefinition.SDEffect:
Dragengine.Audio.SynthesizerDefinition.SDEffectStretch

Public Member Functions

void addTargetLink (SDSourceTargetLink targetLink)
 Add target link.
SynthesizerEffect buildEffect (Synthesizer synthesizer)
 Build engine synthesizer effect using the stored definition.
void debug (Console console)
void forEachTarget (Block ablock)
 Visit targets with a block.
float getStrength ()
 Strength of effect.
SDSourceTargetLink getTargetLinkAt (int index)
 Target link at index.
int getTargetLinkCount ()
 Number of target links.
SDEffect new ()
 Create synthesizer effect definition.
void setEnabled (bool enabled)
 Set if effect is enabled.
void setStrength (float strength)
 Set strength of effect.

Protected Member Functions

String debugCommon (String type)

Detailed Description

Definition of synthesizer effect.

Once defined a effect can be added to an synthesizer using the stored definition. This is the base effect class with the properties shared amongst all effect types.

Member Function Documentation

◆ addTargetLink()

void Dragengine.Audio.SynthesizerDefinition.SDEffect.addTargetLink ( SDSourceTargetLink targetLink)

Add target link.

Referenced by setEnabled().

◆ buildEffect()

SynthesizerEffect Dragengine.Audio.SynthesizerDefinition.SDEffect.buildEffect ( Synthesizer synthesizer)

Build engine synthesizer effect using the stored definition.

Reimplemented in Dragengine.Audio.SynthesizerDefinition.SDEffectStretch.

References forEachTarget().

Referenced by debugCommon().

◆ debug()

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

◆ debugCommon()

String Dragengine.Audio.SynthesizerDefinition.SDEffect.debugCommon ( String type)
protected

◆ forEachTarget()

void Dragengine.Audio.SynthesizerDefinition.SDEffect.forEachTarget ( Block ablock)

Visit targets with a block.

References getTargetLinkAt().

Referenced by buildEffect(), and Dragengine.Audio.SynthesizerDefinition.SDEffectStretch.debug().

◆ getStrength()

float Dragengine.Audio.SynthesizerDefinition.SDEffect.getStrength ( )

Strength of effect.

Referenced by debugCommon().

◆ getTargetLinkAt()

SDSourceTargetLink Dragengine.Audio.SynthesizerDefinition.SDEffect.getTargetLinkAt ( int index)

Target link at index.

References getTargetLinkCount().

Referenced by forEachTarget().

◆ getTargetLinkCount()

int Dragengine.Audio.SynthesizerDefinition.SDEffect.getTargetLinkCount ( )

Number of target links.

Referenced by getTargetLinkAt().

◆ new()

SDEffect Dragengine.Audio.SynthesizerDefinition.SDEffect.new ( )

Create synthesizer effect definition.

Reimplemented in Dragengine.Audio.SynthesizerDefinition.SDEffectStretch.

References new().

Referenced by new().

◆ setEnabled()

void Dragengine.Audio.SynthesizerDefinition.SDEffect.setEnabled ( bool enabled)

Set if effect is enabled.

References addTargetLink().

Referenced by debugCommon().

◆ setStrength()

void Dragengine.Audio.SynthesizerDefinition.SDEffect.setStrength ( float strength)

Set strength of effect.

Referenced by debugCommon().


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