Table of Contents

Class AmbientSoundPlayer

Namespace
Global
Assembly
Assembly-CSharp.dll
public class AmbientSoundPlayer
Inheritance
AmbientSoundPlayer
Inherited Members

Constructors

AmbientSoundPlayer(VirtualMicrophone, AmbientSound)

public AmbientSoundPlayer(VirtualMicrophone mic, AmbientSound aSound)

Parameters

mic VirtualMicrophone
aSound AmbientSound

Fields

aSound

public AmbientSound aSound

Field Value

AmbientSound

audioSource

public AudioSource audioSource

Field Value

AudioSource

clip

public AudioClip clip

Field Value

AudioClip

gameObject

public GameObject gameObject

Field Value

GameObject

initiated

public bool initiated

Field Value

bool

lastDopplerDist

public float lastDopplerDist

Field Value

float

lastDopplerReturn

public float lastDopplerReturn

Field Value

float

lastTime

public float lastTime

Field Value

float

mic

public VirtualMicrophone mic

Field Value

VirtualMicrophone

slatedForDeletion

public bool slatedForDeletion

Field Value

bool

waitingToPlay

public bool waitingToPlay

Field Value

bool

Methods

Destroy()

public void Destroy()

DrawUpdate(float, float, Vector2)

public void DrawUpdate(float timeStacker, float timeSpeed, Vector2 currentListenerPos)

Parameters

timeStacker float
timeSpeed float
currentListenerPos Vector2

Pan(float, Vector2)

public float Pan(float timeStacker, Vector2 currentListenerPos)

Parameters

timeStacker float
currentListenerPos Vector2

Returns

float

Pitch(float, Vector2)

public float Pitch(float timeStacker, Vector2 currentListenerPos)

Parameters

timeStacker float
currentListenerPos Vector2

Returns

float

SetLowPassCutOff(float)

public void SetLowPassCutOff(float effect)

Parameters

effect float

TryInitiation()

public void TryInitiation()

Vol(float, Vector2)

public float Vol(float timeStacker, Vector2 currentListenerPos)

Parameters

timeStacker float
currentListenerPos Vector2

Returns

float