Fader

soloud.Fader (extern class)

Helper class to process faders

Static Members

create(): Fader
Returns
Fader

Instance Members

Value to fade from


Value to fade to


mDelta: cpp.Float32

Delta between from and to


mTime: Time

Total time to fade


mStartTime: Time

Time fading started


mEndTime: Time

Time fading will end


mCurrent: cpp.Float32

Current value. Used in case time rolls over.


mActive: cpp.Int32

Active flag; 0 means disabled, 1 is active, 2 is LFO, -1 means was active, but stopped


destroy(): Void

setLFO(aFrom: cpp.Float32, aTo: cpp.Float32, aTime: Time, aStartTime: Time): Void

Set up LFO

Name Type
aFrom cpp.Float32
aTo cpp.Float32
aTime Time
aStartTime Time

set(aFrom: cpp.Float32, aTo: cpp.Float32, aTime: Time, aStartTime: Time): Void

Set up fader

Name Type
aFrom cpp.Float32
aTo cpp.Float32
aTime Time
aStartTime Time

get(aCurrentTime: Time): cpp.Float32

Get the current fading value

Name Type
aCurrentTime Time
Returns
cpp.Float32

Metadata

Name Parameters
:include "linc_soloud.h"