Gambas Documentation - /comp/gb.openal/al/listenerfv

/comp/gb.openal/al/listenerfv

# Al.Listenerfv (gb.openal)

Static Sub Listenerfv ( Param As Integer, Values As Single[] )

Set the value of the Param property of the listener from an array of Single values.

Param can be one of the following constant:

- Al.POSITION for the (x, y, z) position of the listener.

- Al.VELOCITY for the (vx, vy, vz) velocity vector of the listener.

- Al.ORIENTATION for orientation, as "at" and "up" vectors, i.e. (atx, aty, atz, upx, upy, upz).