Module three_d::renderer::control

source ·
Expand description

A collection of controls for example to control the camera.

Structs§

  • A customizable controller for the camera. It is possible to specify a CameraAction for each of the input events.
  • A control that makes the camera move like it is a person on the ground.
  • A control that makes the camera fly through the 3D scene.
  • State of modifiers (alt, ctrl, shift and command).
  • A control that makes the camera orbit around a target.
  • A pixel coordinate in physical pixels, where x is on the horizontal axis with zero being at the left edge and y is on the vertical axis with zero being at bottom edge.

Enums§

  • A set of possible actions to apply to a camera when recieving input.
  • An input event (from mouse, keyboard or similar).
  • Keyboard key input.
  • Type of mouse button.