Class ShadeSounds
Contains snapshots and mixers that are related to the Shade AudioMixer
These snapshots are used to enable and disable the shade sound effects in a scene
Assembly: WeaverCore.dll
Syntax
public static class ShadeSounds
Properties
|
Edit this page
View Source
AwaySnapshot
Declaration
public static AudioMixerSnapshot AwaySnapshot { get; }
Property Value
Type |
Description |
AudioMixerSnapshot |
|
|
Edit this page
View Source
CloseSnapshot
Declaration
public static AudioMixerSnapshot CloseSnapshot { get; }
Property Value
Type |
Description |
AudioMixerSnapshot |
|
|
Edit this page
View Source
MasterGroup
Declaration
public static AudioMixerGroup MasterGroup { get; }
Property Value
Type |
Description |
AudioMixerGroup |
|
|
Edit this page
View Source
MusicGroup
Declaration
public static AudioMixerGroup MusicGroup { get; }
Property Value
Type |
Description |
AudioMixerGroup |
|
|
Edit this page
View Source
ShadeGroup
Declaration
public static AudioMixerGroup ShadeGroup { get; }
Property Value
Type |
Description |
AudioMixerGroup |
|
|
Edit this page
View Source
ShadeMixer
Declaration
public static AudioMixer ShadeMixer { get; }
Property Value
Type |
Description |
AudioMixer |
|
Methods
|
Edit this page
View Source
ApplyShadeSounds(SnapshotType, float)
Declaration
public static void ApplyShadeSounds(ShadeSounds.SnapshotType snapshot, float transitionTime)
Parameters
Type |
Name |
Description |
ShadeSounds.SnapshotType |
snapshot |
The snapshot to apply
|
float |
transitionTime |
How long should it take to transition to the new snapshot
|
|
Edit this page
View Source
GetGroup(GroupType)
Declaration
public static AudioMixerGroup GetGroup(ShadeSounds.GroupType type)
Parameters
Returns
Type |
Description |
AudioMixerGroup |
|
|
Edit this page
View Source
GetSnapshot(SnapshotType)
Declaration
public static AudioMixerSnapshot GetSnapshot(ShadeSounds.SnapshotType type)
Parameters
Returns
Type |
Description |
AudioMixerSnapshot |
|