openal_listener_set

(PECL openal >= 0.1.0)
Set a listener property
bool openal_listener_set ( int $property, mixed $setting )
Parameters:
property

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

setting

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

Returns:

Returns TRUE on success or FALSE on failure.

See also:

openal_listener_get() -

doc_php
2016-02-24 15:54:28
Comments
Leave a Comment

Please login to continue.