Skip to content

File Camera.h

FileList > scene > Camera.h

Go to the source code of this file

Camera class providing view and projection matrices for rendering.More...

  • #include "ID.h"
  • #include "Transform.h"
  • #include "DebugMesh.h"
  • #include <vector>

Classes

Type Name
class Camera
Camera object defining viewpoint and projection for rendering.

Detailed Description

Camera is a scene object that defines viewpoint and projection for rendering. It inherits from ObjectID (scene graph identity) and Transform3D (spatial placement). Cameras compute view/projection matrices used by the Renderer to transform geometry.

Architecture:

  • Owned by scene graph (shared_ptr in scene containers)
  • Active camera selected via SceneContext
  • Renderer reads camera matrices as immutable data
  • Editor manipulates camera via CameraController events

Note:

Multiple cameras can exist, but only one is active at a time.


The documentation for this class was generated from the following file src/scene/Camera.h