C4 Engine
C4 Engine API Documentation

class SourceObject

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

class SourceObject : public Object

Member Functions
SourceObject::GetSourceType Returns the specific type of a source.
SourceObject::GetSourceFlags Returns the source flags.
SourceObject::SetSourceFlags Sets the source flags.
Constructor

SourceObject(SourceType type, const char *name);

Parameters
type The type of the sound source. See below for a list of possible types.
name The name of the sound resource associated with the source.
Description
The SourceObject class is the base class for objects that hold information about sound sources.
Base Classes
Object A source object is an object that can be shared by multiple source nodes.
See Also

Source

Wiki Articles

Sources