package raylib

  1. Overview
  2. Docs
type t = Types.Camera2D.t Ctypes.structure
val t : Types.Camera2D.t Ctypes.structure Ctypes.typ
val create : Raylib_generated_types.Vector2.t Ctypes.structure -> Raylib_generated_types.Vector2.t Ctypes.structure -> float -> float -> (Types.Camera2D.t, [ `Struct ]) Ctypes.structured
val offset : (Types.Camera2D.t, [ `Struct ]) Ctypes.structured -> Raylib_generated_types.Vector2.t Ctypes.structure
val target : (Types.Camera2D.t, [ `Struct ]) Ctypes.structured -> Raylib_generated_types.Vector2.t Ctypes.structure
val rotation : (Types.Camera2D.t, [ `Struct ]) Ctypes.structured -> float
val zoom : (Types.Camera2D.t, [ `Struct ]) Ctypes.structured -> float
val set_offset : (Types.Camera2D.t, [ `Struct ]) Ctypes.structured -> Raylib_generated_types.Vector2.t Ctypes.structure -> unit
val set_target : (Types.Camera2D.t, [ `Struct ]) Ctypes.structured -> Raylib_generated_types.Vector2.t Ctypes.structure -> unit
val set_rotation : (Types.Camera2D.t, [ `Struct ]) Ctypes.structured -> float -> unit
val set_zoom : (Types.Camera2D.t, [ `Struct ]) Ctypes.structured -> float -> unit
OCaml

Innovation. Community. Security.