Jazz2::Actors::Environment::AmbientSound class

Ambient sound.

Invisible level object that plays a looping background sound effect (such as wind, fire, or machinery noise) to add atmosphere to a region. It has no collision and does not interact with the player.

Base classes

class Jazz2::Actors::ActorBase
Base class of an object.

Public static functions

static void Preload(const ActorActivationDetails& details)
Preloads all assets required by this actor.

Constructors, destructors, conversion operators

AmbientSound()
Creates a new instance.
~AmbientSound()

Protected functions

auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
Called when the object is created and activated.