package irrlicht

  1. Overview
  2. Docs
type obj
exception Null_pointer_exn
class reference_counted : obj -> object ... end
class timer : obj -> object ... end
class attribute_exchanging_object : obj -> object ... end
type key_input = {
  1. ki_char : char;
  2. ki_control : bool;
  3. ki_key : Irr_enums.key_code;
  4. ki_pressed_down : bool;
  5. ki_shift : bool;
}
val key_count : int
val int_of_key : Irr_enums.key_code -> int
type mouse_input = {
  1. mi_left_pressed : bool;
  2. mi_middle_pressed : bool;
  3. mi_right_pressed : bool;
  4. mi_control : bool;
  5. mi_event : Irr_enums.mouse_input_event;
  6. mi_shift : bool;
  7. mi_wheel : float;
  8. mi_x : int;
  9. mi_y : int;
}
type gui_event = {
  1. ge_caller : int;
  2. ge_element : int option;
  3. ge_type : Irr_enums.gui_event_type;
}
type event = [
  1. | `gui_event of gui_event
  2. | `key_input of key_input
  3. | `mouse_input of mouse_input
  4. | `other
]
class event_receiver : obj -> object ... end
class event_receiver_fun : (event -> bool) -> object ... end
OCaml

Innovation. Community. Security.