package sfml

  1. Overview
  2. Docs
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_oo/Oo_sfml_audio/class-music/index.html

Class Oo_sfml_audio.music

val music : SFMusic.t
method channels_count : int
method destroy : unit -> unit
method duration : SFTime.t
method loop : bool
method pause : unit -> unit
method pitch : float
method play : unit -> unit
method playing_offset : SFTime.t
method position : float * float * float
method sample_rate : int
method set_attenuation : attenuation:float -> unit
method set_loop : loop:bool -> unit
method set_min_distance : minDistance:float -> unit
method set_pitch : pitch:float -> unit
method set_position : pos:(float * float * float) -> unit
method set_position3 : x:float -> y:float -> z:float -> unit
method set_relative_to_listener : relative:bool -> unit
method set_volume : volume:float -> unit
method status : SFMusic.sound_status
method stop : unit -> unit
method volume : float
OCaml

Innovation. Community. Security.