Space Engineers
Classes | Public Member Functions | Properties | Events | List of all members
VRage.Audio.MyEffectInstance Class Reference
Inheritance diagram for VRage.Audio.MyEffectInstance:
VRage.Audio.IMyAudioEffect

Public Member Functions

 MyEffectInstance (MyAudioEffect effect, IMySourceVoice input, MySourceVoice[] cues, float?duration, XAudio2 engine)
 
void Update (int stepMs)
 
void SetPosition (float msecs)
 
void SetPositionRelative (float position)
 

Properties

bool AutoUpdate [get, set]
 
bool Finished [get]
 
IMySourceVoice OutputSound [get]
 
- Properties inherited from VRage.Audio.IMyAudioEffect
bool AutoUpdate [get, set]
 
IMySourceVoice OutputSound [get]
 
bool Finished [get]
 

Events

Action< MyEffectInstanceOnEffectEnded
 

Detailed Description

Definition at line 11 of file MyEffectInstance.cs.

Constructor & Destructor Documentation

VRage.Audio.MyEffectInstance.MyEffectInstance ( MyAudioEffect  effect,
IMySourceVoice  input,
MySourceVoice[]  cues,
float?  duration,
XAudio2  engine 
)
inline

Definition at line 41 of file MyEffectInstance.cs.

Member Function Documentation

void VRage.Audio.MyEffectInstance.SetPosition ( float  msecs)
inline

Implements VRage.Audio.IMyAudioEffect.

Definition at line 183 of file MyEffectInstance.cs.

void VRage.Audio.MyEffectInstance.SetPositionRelative ( float  position)
inline

Implements VRage.Audio.IMyAudioEffect.

Definition at line 189 of file MyEffectInstance.cs.

void VRage.Audio.MyEffectInstance.Update ( int  stepMs)
inline

Implements VRage.Audio.IMyAudioEffect.

Definition at line 101 of file MyEffectInstance.cs.

Property Documentation

bool VRage.Audio.MyEffectInstance.AutoUpdate
getset

Definition at line 14 of file MyEffectInstance.cs.

bool VRage.Audio.MyEffectInstance.Finished
get

Definition at line 17 of file MyEffectInstance.cs.

IMySourceVoice VRage.Audio.MyEffectInstance.OutputSound
get

Definition at line 19 of file MyEffectInstance.cs.

Event Documentation

Action<MyEffectInstance> VRage.Audio.MyEffectInstance.OnEffectEnded

Definition at line 15 of file MyEffectInstance.cs.


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