package sfml
Bindings to the SFML multimedia library
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-sfml-0.09.2.tar.gz
sha256=ce1e50dec69a4495232261627a359a8fb54d79788147380bee78b0983f8b6951
md5=9ae99bb47bb68d5181d01b7bbc78a351
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)"
>