class DirectedSource
Defined in: C4Sources.h
The DirectedSource class represents a directed sound source node in a world.
Definition
class DirectedSource : public Source
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
Source |
A DirectedSource node is a specific type of Source.
|
See Also
DirectedSourceObject
|