HGamer3D-SFML-Binding-0.1.9: Windows Game Engine for the Haskell Programmer - SFML Bindings

Safe HaskellNone

HGamer3D.Bindings.SFML.ClassListener

Synopsis

Documentation

setGlobalVolumeSource

Arguments

:: Float

volume

-> IO () 

Change the global volume of all the sounds and musics. - Details: The volume is a number between 0 and 100; it is combined with the individual volume of each sound / music. The default value for the volume is 100 (maximum).

getGlobalVolumeSource

Arguments

:: IO Float

return value - Current global volume, in the range [0, 100]

Get the current value of the global volume. - Details: setGlobalVolume

setPositionSource

Arguments

:: Float

x

-> Float

y

-> Float

z

-> IO () 

Set the orientation of the listener in the scene. - Details: The orientation defines the 3D axes of the listener (left, up, front) in the scene. The orientation vector doesn't have to be normalized. The default listener's orientation is (0, 0, -1).

Set the position of the listener in the scene. - Details: The default listener's position is (0, 0, 0).

setDirectionSource

Arguments

:: Float

x

-> Float

y

-> Float

z

-> IO ()