openal_listener_get

(PECL)

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), or FALSE on failure.

参见

openal_listener_set()