comp • gb.openal • al • getsource3f

Al.GetSource3f (gb.openal)

Static Function GetSource3f ( Source As Integer, Param As Integer ) As Single[]

Return the value of the Param property of the Source source as an array of three Single.

Param can be one of the following constant:

  • Al.POSITION for the (x, y, z) position of the source.

  • Al.VELOCITY for the (vx, vy, vz) velocity vector of the source.

  • Al.DIRECTION for the (dx, dy, dz) direction vector of the source.