package sfml
Bindings to the SFML multimedia library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.09.tar.gz
sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
md5=01ffc5b471d774f2d6234c639b067f04
doc/sfml.audio/SFSound/index.html
Module SFSound
Online documentation for the Sound class
val create : unit -> t
val setBuffer : sound:t -> buffer:SFSoundBuffer.t -> unit
val play : sound:t -> unit
val pause : sound:t -> unit
val stop : sound:t -> unit
val setLoop : sound:t -> loop:bool -> unit
val getLoop : sound:t -> bool
val getStatus : sound:t -> sound_status
val setPitch : sound:t -> pitch:float -> unit
val setVolume : sound:t -> volume:float -> unit
val setPosition : sound:t -> pos:(float * float * float) -> unit
val setPosition3 : sound:t -> x:float -> y:float -> z:float -> unit
val setRelativeToListener : sound:t -> relative:bool -> unit
val setMinDistance : sound:t -> minDistance:float -> unit
val setAttenuation : sound:t -> attenuation:float -> unit
val setPlayingOffset : sound:t -> timeOffset:SFTime.t -> unit
val getPlayingOffset : sound:t -> SFTime.t
val getPitch : sound:t -> float
val getVolume : sound:t -> float
val isRelativeToListener : sound:t -> bool
val getPosition : sound:t -> float * float * float
val getMinDistance : sound:t -> float
val getAttenuation : sound:t -> float
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>