« openal_device_open
openal_listener_set »

openal_listener_get

(PECL openal >= 0.1.0)

openal_listener_get — リスナーのプロパティを取得する

説明

function 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   openal   プロパティ   listener   リスナー   property   device   OpenAL   mixed   参考
関連する関数・ページ:
function.openal-listener-set   function.openal-source-get   function.openal-source-set   function.openal-source-create   function.openal-source-destroy   function.openal-source-rewind