C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

SourceObject::GetSourceType

Defined in:  C4Sources.h
Returns the specific type of a source.
Prototype

SourceType GetSourceType(voidconst;

Description
The GetSourceType function returns the specific source type, which can be one of the following values.
kSourceAmbient Ambient sound source.
kSourceOmni Omnidirectional sound source.
kSourceDirected Directed sound source.