« openal_listener_get
openal_source_create »

openal_listener_set

(PECL openal >= 0.1.0)

openal_listener_set — リスナーのプロパティを設定する

説明

function openal_listener_set(int $property, mixed $setting): bool

パラメータ

property

設定するプロパティ。 AL_GAIN (float)、 AL_POSITION (array(float,float,float))、 AL_VELOCITY (array(float,float,float)) そして AL_ORIENTATION (array(float,float,float)) のいずれか。

setting

設定する値。float あるいは float の配列のうち適切なもの。

戻り値

成功した場合に true を、失敗した場合に false を返します。

参考

関連キーワード:
float   openal   プロパティ   listener   リスナー   property   setting   create   OpenAL   mixed   成功   参考
関連する関数・ページ:
function.openal-listener-get   function.openal-source-set   function.openal-source-get   function.openal-source-create   function.openal-source-destroy   function.openal-source-rewind