◆ SoundFX()
◆ AttachToParent()
void OVR.SoundFX.AttachToParent |
( |
Transform |
parent | ) |
|
◆ DetachFromParent()
void OVR.SoundFX.DetachFromParent |
( |
| ) |
|
◆ GetClip()
AudioClip OVR.SoundFX.GetClip |
( |
| ) |
|
◆ GetClipLength()
float OVR.SoundFX.GetClipLength |
( |
int |
idx | ) |
|
◆ GetMixerGroup()
AudioMixerGroup OVR.SoundFX.GetMixerGroup |
( |
AudioMixerGroup |
defaultMixerGroup | ) |
|
◆ GetPitch()
float OVR.SoundFX.GetPitch |
( |
| ) |
|
◆ PlaySound()
int OVR.SoundFX.PlaySound |
( |
float |
delaySecs = 0.0f | ) |
|
◆ PlaySoundAt()
int OVR.SoundFX.PlaySoundAt |
( |
Vector3 |
pos, |
|
|
float |
delaySecs = 0.0f , |
|
|
float |
volumeOverride = 1.0f , |
|
|
float |
pitchMultiplier = 1.0f |
|
) |
| |
◆ ReachedGroupPlayLimit()
bool OVR.SoundFX.ReachedGroupPlayLimit |
( |
| ) |
|
◆ SetOnFinished() [1/2]
void OVR.SoundFX.SetOnFinished |
( |
System.Action |
onFinished | ) |
|
◆ SetOnFinished() [2/2]
void OVR.SoundFX.SetOnFinished |
( |
System.Action< object > |
onFinished, |
|
|
object |
obj |
|
) |
| |
◆ StopSound()
bool OVR.SoundFX.StopSound |
( |
| ) |
|
◆ delay
Vector2 OVR.SoundFX.delay = Vector2.zero |
◆ falloffCurve
AudioRolloffMode OVR.SoundFX.falloffCurve = AudioRolloffMode.Linear |
◆ falloffDistance
Vector2 OVR.SoundFX.falloffDistance = new Vector2( 1.0f, 25.0f ) |
◆ looping
bool OVR.SoundFX.looping = false |
◆ name
string OVR.SoundFX.name = string.Empty |
◆ ospProps
◆ pctChanceToPlay
float OVR.SoundFX.pctChanceToPlay = 1.0f |
◆ pitchVariance
Vector2 OVR.SoundFX.pitchVariance = Vector2.one |
◆ playback
◆ priority
◆ reverbZoneMix
AnimationCurve OVR.SoundFX.reverbZoneMix = new AnimationCurve( new Keyframe[2] { new Keyframe( 0f, 1.0f ), new Keyframe( 1f, 1f ) } ) |
◆ soundClips
AudioClip [] OVR.SoundFX.soundClips = new AudioClip[1] |
◆ spread
float OVR.SoundFX.spread = 0.0f |
◆ visibilityToggle
bool OVR.SoundFX.visibilityToggle = false |
◆ volume
float OVR.SoundFX.volume = 1.0f |
◆ volumeFalloffCurve
AnimationCurve OVR.SoundFX.volumeFalloffCurve = new AnimationCurve( new Keyframe[2] { new Keyframe( 0f, 1.0f ), new Keyframe( 1f, 1f ) } ) |
◆ Group
◆ GroupVolumeOverride
float OVR.SoundFX.GroupVolumeOverride |
|
get |
◆ IsValid
◆ Length
◆ MaxFalloffDistSquared
float OVR.SoundFX.MaxFalloffDistSquared |
|
get |
The documentation for this class was generated from the following file: