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

openal_listener_get

PHP function Edit on GitHub ✎

(PECL openal >= 0.1.0)

Retrieve a listener property

Description

openal_listener_get(int $property): mixed

Parameters

property

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

Return Values

Returns a float or array of floats (as appropriate)Falseforfailure.

See Also

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