Engine » Render » Camera module

Adds PerspectiveCamera components and the DrawsTo relation.

Files

file draws_to.hpp
Relation cubos::engine::DrawsTo.
file perspective_camera.hpp
Component cubos::engine::PerspectiveCamera.
file plugin.hpp
Plugin entry point.

Classes

struct cubos::engine::DrawsTo
Relation which indicates the 'from' entity is a camera that draws to the 'to' target.
struct cubos::engine::PerspectiveCamera
Component which defines parameters of a perspective camera used to render the world.

Functions

auto cameraPlugin(Cubos& cubos) -> CUBOS_ENGINE_API void
Plugin entry function.

Function documentation

CUBOS_ENGINE_API void cameraPlugin(Cubos& cubos)

Plugin entry function.

Parameters
cubos Cubos main class.