downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

openal_source_create> <openal_listener_get
[edit] Last updated: Fri, 25 May 2012

view this page in

openal_listener_set

(PECL openal >= 0.1.0)

openal_listener_set Set a listener property

说明

bool openal_listener_set ( int $property , mixed $setting )

参数

property

Property to set, one of: AL_GAIN (float), AL_POSITION (array(float,float,float)), AL_VELOCITY (array(float,float,float)) 和 AL_ORIENTATION (array(float,float,float)).

setting

Value to set, either float, or an array of floats as appropriate.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.

参见



add a note add a note User Contributed Notes openal_listener_set
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites