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 を返します。

参考

関連キーワード:  float, リスナー, 取得, array, property, device, open, 関数, int, パラメータ