C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

class DirectedSourceObject

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

class DirectedSourceObject : public SourceObject

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
SourceObject A DirectedSourceObject is a specific type of SourceObject
See Also

DirectedSource