openal_listener_get
(PECL openal >= 0.1.0)
openal_listener_get — リスナーのプロパティを取得する
説明
openal_listener_get
( int $property
) : mixed
パラメータ
property
- 取得するプロパティ。
AL_GAIN
(float)、AL_POSITION
(array(float,float,float))、AL_VELOCITY
(array(float,float,float)) そしてAL_ORIENTATION
(array(float,float,float)) のいずれか。
返り値
float あるいは float の配列 (どちらか適切なほう) を返します。
失敗した場合に false
を返します。