openal_listener_set

(PECL openal >= 0.1.0)

openal_listener_set — Définit une propriété d'auditeur

Description

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

Liste de paramètres

property

La propriété à définir, une parmi celles-ci : AL_GAIN (nombre décimal), AL_POSITION (array(float,float,float)), AL_VELOCITY (array(float,float,float)) et AL_ORIENTATION (array(float,float,float)).

setting

La valeur à définir, soit un nombre décimal, soit un tableau de nombres à virgule flottante appropriés.

Valeurs de retour

Cette fonction retourne true en cas de succès ou false si une erreur survient.

Voir aussi

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top