php8.5
Home/ Manual/ openal / functions/ openal_listener_set

openal_listener_set

PHP function Edit on GitHub ✎

(PECL openal >= 0.1.0)

Set a listener property

Description

openal_listener_set(int $property, mixed $setting): bool

Parameters

property

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

setting

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

Return Values

Success

See Also

Source: reference/openal/functions/openal-listener-set.xml · from the official PHP manual (php/doc-en)