Class VirtualMicrophone.SoundObject
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public abstract class VirtualMicrophone.SoundObject
- Inheritance
-
VirtualMicrophone.SoundObject
- Derived
-
- Inherited Members
-
Constructors
SoundObject(VirtualMicrophone, SoundData, bool, float, float, float, bool)
public SoundObject(VirtualMicrophone mic, SoundLoader.SoundData soundData, bool loop, float initPan, float initVol, float initPitch, bool startAtRandomTime)
Parameters
mic VirtualMicrophone
soundData SoundLoader.SoundData
loop bool
initPan float
initVol float
initPitch float
startAtRandomTime bool
Fields
allowPlay
Field Value
- bool
audioSource
public AudioSource audioSource
Field Value
- AudioSource
autoPlayAfterLoad
public bool autoPlayAfterLoad
Field Value
- bool
gameObject
public GameObject gameObject
Field Value
- GameObject
initVol
Field Value
- float
loadOp
public AssetBundleLoadAssetOperation loadOp
Field Value
- AssetBundleLoadAssetOperation
loop
Field Value
- bool
mic
public VirtualMicrophone mic
Field Value
- VirtualMicrophone
needsRandomTime
public bool needsRandomTime
Field Value
- bool
needsVolumeUpdate
public bool needsVolumeUpdate
Field Value
- bool
singleUseSound
public bool singleUseSound
Field Value
- bool
slatedForDeletion
public bool slatedForDeletion
Field Value
- bool
soundData
public SoundLoader.SoundData soundData
Field Value
- SoundLoader.SoundData
volumeGroup
Field Value
- int
Properties
Done
public virtual bool Done { get; }
Property Value
- bool
IsLoaded
public bool IsLoaded { get; }
Property Value
- bool
IsPlaying
public bool IsPlaying { get; }
Property Value
- bool
PlayAgain
public virtual bool PlayAgain { get; }
Property Value
- bool
SetPitch
public float SetPitch { set; }
Property Value
- float
SetVolume
public float SetVolume { set; }
Property Value
- float
Methods
Destroy()
GetSpectrumData(float[], int, FFTWindow)
public void GetSpectrumData(float[] samples, int channel, FFTWindow window)
Parameters
samples float[]
channel int
window FFTWindow
Play()
SetLowPassCutOff(float)
public void SetLowPassCutOff(float effect)
Parameters
effect float
Stop()
Update(float, float)
public virtual void Update(float timeStacker, float timeSpeed)
Parameters
timeStacker float
timeSpeed float
UpdateLoading()
public void UpdateLoading()