CMGDK r49-rc2
公有成员 | 保护属性
hgl::AudioListener类参考

收听者管理类 更多...

#include <Listener.H>

所有成员的列表。

公有成员

float GetGain ()
 读取音量增益幅度
const Vector3fGetPosition ()
 读取音源坐标位置
const Vector3fGetVelocity ()
 读取速率
const Vector3fGetOrientation ()
 读取导向
void SetGain (float)
 设置音量增益幅度
void SetPosition (const Vector3f &)
 设置音源坐标位置
void SetVelocity (const Vector3f &)
 设置速率
void SetOrientation (const Vector3f *)
 设置导向
 AudioListener ()
 ~AudioListener ()

保护属性

float gain
Vector3f position
Vector3f velocity
Vector3forientation

详细描述

收听者管理类

这个类用于管理收听者的一些状态,可以通过它设定统一的音量,收听者的位置、方向等


构造及析构函数文档

hgl::AudioListener::AudioListener ( )
hgl::AudioListener::~AudioListener ( )

成员函数文档

float hgl::AudioListener::GetGain ( ) [inline]

读取音量增益幅度

const Vector3f* hgl::AudioListener::GetOrientation ( ) [inline]

读取导向

const Vector3f& hgl::AudioListener::GetPosition ( ) [inline]

读取音源坐标位置

const Vector3f& hgl::AudioListener::GetVelocity ( ) [inline]

读取速率

void hgl::AudioListener::SetGain ( float  _gain)

设置音量增益幅度

void hgl::AudioListener::SetOrientation ( const Vector3f ori)

设置导向

void hgl::AudioListener::SetPosition ( const Vector3f pos)

设置音源坐标位置

void hgl::AudioListener::SetVelocity ( const Vector3f vel)

设置速率


成员数据文档

float hgl::AudioListener::gain [protected]

该类的文档由以下文件生成:
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义