openal_listener_set
PHP Manual
PHP Manual»OpenAL Funktionen»openal_listener_set

openal_listener_set

(PECL openal >= 0.1.0)

openal_listener_set — Set a listener property

Beschreibung

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

Parameter-Liste

property

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

setting

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

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Siehe auch

To Top