Facebook Twitter YouTube

class DirectedSourceObject

Defined in:  TSSources.h
The DirectedSourceObject class encapsulates data pertaining to a directed sound source.
Definition

class DirectedSourceObject final : public OmniSourceObject

Member Functions
DirectedSourceObject::GetApexTangent Returns the tangent of half the apex angle for a sound source.
DirectedSourceObject::SetApexTangent Sets the tangent of half the apex angle for a sound source.
Constructor

DirectedSourceObject(const char *sound, float range, float apex);

Parameters
sound 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.
Description
Base Classes
OmniSourceObject A DirectedSourceObject is a specific type of omnidirectional source object.
See Also

DirectedSource