UI

User controls can be freely programmed. However, every 3D graphic in SharpGfx includes a camera object. The library provides two standard camera implementations: the OrbitCamera and the FlyCamera. Each has its standard controls – if not overwritten by the programmer.

OrbitCamera

  • Mouse move with left button pressed: orbit around a center
  • Mouse move with right button pressed: move the center parallel to the move in the projection plane
  • Mouse wheel: zoom out and in to resp. from the center

FlyCamera

  • Mouse move with left button pressed: look around
  • Num-block-keys 2468: move in axis direction
  • Arrow-keys: move in axis direction
  • Mouse wheel, PgUp-key, PgDn-key: zoom out and in