array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.openal-listener-get.php', 1 => 'openal_listener_get', ), 'up' => array ( 0 => 'ref.openal.php', 1 => 'OpenAL 関数', ), 'prev' => array ( 0 => 'function.openal-device-open.php', 1 => 'openal_device_open', ), 'next' => array ( 0 => 'function.openal-listener-set.php', 1 => 'openal_listener_set', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/openal/functions/openal-listener-get.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL openal >= 0.1.0)
openal_listener_get — リスナーのプロパティを取得する
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
を返します。