Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
AudioSingleFX Class Reference
Inheritance diagram for AudioSingleFX:
EffectBehaviour

Public Member Functions

override void OnEvent (float power)
 
override void OnEvent ()
 
override void OnInitialize ()
 
override void OnLoad (ConfigNode node)
 
override void OnSave (ConfigNode node)
 
- Public Member Functions inherited from EffectBehaviour
virtual void OnEvent (int transformIdx)
 
virtual void OnEvent (float power, int transformIdx)
 

Public Attributes

AudioFX.AudioChannel channel = AudioFX.AudioChannel.Ship
 
string clip = ""
 
FXCurve pitch = new FXCurve("pitch", 1f)
 
int polyphony = 1
 
FXCurve volume = new FXCurve("volume", 1f)
 
- Public Attributes inherited from EffectBehaviour
string effectName = ""
 
Part hostPart
 
string instanceName = ""
 

Additional Inherited Members

- Static Public Member Functions inherited from EffectBehaviour
static void AddParticleEmitter (KSPParticleEmitter emitter)
 
static void AddParticleEmitter (ParticleSystem emitter)
 
static void OffsetParticles (Vector3d offset)
 
static void RemoveParticleEmitter (KSPParticleEmitter emitter)
 
static void RemoveParticleEmitter (ParticleSystem emitter)
 

Member Function Documentation

override void AudioSingleFX.OnEvent ( float  power)
inlinevirtual

Reimplemented from EffectBehaviour.

override void AudioSingleFX.OnEvent ( )
inlinevirtual

Reimplemented from EffectBehaviour.

override void AudioSingleFX.OnInitialize ( )
inlinevirtual

Reimplemented from EffectBehaviour.

override void AudioSingleFX.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from EffectBehaviour.

override void AudioSingleFX.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from EffectBehaviour.

Member Data Documentation

string AudioSingleFX.clip = ""
FXCurve AudioSingleFX.pitch = new FXCurve("pitch", 1f)
int AudioSingleFX.polyphony = 1
FXCurve AudioSingleFX.volume = new FXCurve("volume", 1f)

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