Camera - xkp/Doc GitHub Wiki

Overview

A camera represents a point of view in the scene. Every scene must have at least a camera.

Properties

  • fov: field of view.
  • aspect: aspect ratio.
  • near: near plane.
  • far: far plane.
  • position: camera's position, in world coordinates.
  • rotation: camera's rotation, a 3d vector.
  • scale: camera's scale.

Usage

<camera id="camera_1" fov="70" aspect="1.5" near="1" far="1000">
    <position y="300" z="500"/>			
</camera>
⚠️ **GitHub.com Fallback** ⚠️