openal_listener_get
(PECL openal >= 0.1.0)
openal_listener_get — Retrieve a listener 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
.