C4 Engine
C4 Engine API Documentation

class OmniSource

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

class OmniSource : public Source, public ListElement<OmniSource>

Constructor

OmniSource(const char *name, float range, bool persistent = false);

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


Base Classes
Source An OmniSource node is a specific type of source.
ListElement<OmniSource> Used internally by the World Manager.
See Also

OmniSourceObject