Camera

From UWSim
Jump to: navigation, search

The Camera XML block configure the initial main view and characteristics of the simulator's scene. Is one of the main blocks when Configuring and creating scenes.

XML syntax

Every tag in this section is optional so if something is not filled default values will be applied.


  • freemotion: This parameter sets if the main view is able to move with the trackball or not.
  • objectToTrack: Sets the object to track if freemotion is not set. Main view will follow that object.
  • fov: Field of view of the main camera.
  • aspectRatio Proportional relationship between width and height (width/height).
  • near: Distance to the near plane, anything nearer this distance will not be showed.
  • far: Distance to the far plane, anything further this distance will not be showed.
  • position: Initial position of the viewer in the world.
  • lookAt: Sets the initial rotation of the viewer.