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

/comp/gb.openal/al/getlistenerfv

# Al.GetListenerfv (gb.openal)

Static Function GetListenerfv ( Param As Integer ) As Single[]

Return the value of the Param property of the listener as 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).