openal_listener_get

(PECL openal >= 0.1.0)

openal_listener_get Retrieve a listener property

说明

mixed openal_listener_get ( int $property )

参数

property

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

返回值

Returns a float or array of floats (as appropriate) 或者在失败时返回 FALSE.

参见

User Contributed Notes

There are no user contributed notes for this page.