C4 Engine
C4 Engine API Documentation

class AmbientSource

Defined in:  C4Sources.h
The AmbientSource class represents an ambient sound source node in a world.
Definition

class AmbientSource final : public Source

Constructor

AmbientSource(const char *name, bool persistent = false);

Parameters
name The name of the sound resource associated with the source.
persistent A boolean value indicating whether the sound source persists after it plays.
Description


Base Classes
Source An AmbientSource node is a specific type of source.
See Also

AmbientSourceObject