AtmosphereSet
A class in Root.Township, Alta.Environmental.Atmosphere.
An asset listing which atmosphere plugins (sky, fog, ambient audio) to turn on or off for an area. Applied by AtmosphereManager.ReadAtmosphereSet.
- Listed in World, chunks and saving
- Inherits or implements
ScriptableObject - Derived types
AtmosphereSet.Create - Nested types
Create - Attributes
GlobalSettings - Documented in Time and environment
Constructors
| Member | What it is |
|---|---|
AtmosphereSet() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|---|
AuxBus AtmosphereAuxBus { get; } | Wwise aux bus for this atmosphere. |
bool HasOverridenAmbience { get; set; } | Set by the manager when this set was applied with an ambient colour override. |
Methods
| Member | What it is |
|---|---|
AtmospherePlugin GetAudioPlayer(IList<AtmospherePlugin> plugins) | The plugin to play ambient audio from: the target one if set, else the first enabled one. Null on headless. |
Used in
Members of other types that take, return or hold a AtmosphereSet:
ChunkEnvironment.overrideSet, ChunkEnvironment.OverrideSet, AmbienceArea.ambienceSetIn, AmbienceArea.ambienceSetOut, AmbienceSpacePoint.from, AmbienceSpacePoint.From, AmbienceSpacePoint.to, AmbienceSpacePoint.To, AtmosphereManager.baseSet, AtmosphereManager.currentSet, AtmosphereManager.CurrentSet, AtmosphereManager.GetHighestPlugin, AtmosphereManager.ReadAtmosphereSet, AtmosphereManager.SetBackGroundAudioSet, AtmosphereManager.ResolveAtmosphere.BeginInvoke, AtmosphereManager.ResolveAtmosphere.EndInvoke, AtmosphereManager.ResolveAtmosphere.Invoke, BorderDefinedAtmosphere.insideSet, BorderDefinedAtmosphere.outsideSet, ForestDefinedAtmosphere.forestSet, ForestDefinedAtmosphere.overworldSet, ForestDefinedAtmosphere.Resolve, SpaceAtmosphereTrigger.usedSet, PlayerSpecialEffectsController.deadAtmosphereSet.