PHP - Manual: openal_listener_get
2024-11-15
(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
.
官方地址:https://www.php.net/manual/en/function.openal-listener-get.php