Facebook Twitter YouTube

class DirectedSource

Defined in:  TSSources.h
The DirectedSource class represents a directed sound source node in a world.
Definition

class DirectedSource final : public OmniSource

Constructor

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

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


Base Classes
OmniSource A DirectedSource node is a specific type of omnidirectional source.
See Also

DirectedSourceObject