Cogs.Core
Public Member Functions | Public Attributes | List of all members
Cogs::Core::CinematicCameraData Struct Reference

Contains Interpolators that will update the camera position and rotation based on component data. More...

#include <CinematicCameraSystem.h>

Public Member Functions

 CinematicCameraData ()=default
 Default constructs camera data.
 
 CinematicCameraData (const CinematicCameraData &other)=delete
 Disabled copy constructor to avoid accidental copying when referencing.
 

Public Attributes

short currentRunningID = -1
 Wich segment of the array we are interpolating [{start,0},...,{n-1,n}].
 
Timer timer
 Used for wait times.
 
std::unique_ptr< Cogs::Interpolator< glm::vec3 > > positionInterpolator
 
std::unique_ptr< Cogs::Interpolator< glm::quat > > rotationInterpolator
 

Detailed Description

Contains Interpolators that will update the camera position and rotation based on component data.

Definition at line 21 of file CinematicCameraSystem.h.

Member Data Documentation

◆ currentRunningID

short Cogs::Core::CinematicCameraData::currentRunningID = -1

Wich segment of the array we are interpolating [{start,0},...,{n-1,n}].

Definition at line 30 of file CinematicCameraSystem.h.

◆ positionInterpolator

std::unique_ptr<Cogs::Interpolator<glm::vec3> > Cogs::Core::CinematicCameraData::positionInterpolator

Definition at line 35 of file CinematicCameraSystem.h.

◆ rotationInterpolator

std::unique_ptr<Cogs::Interpolator<glm::quat> > Cogs::Core::CinematicCameraData::rotationInterpolator

Definition at line 36 of file CinematicCameraSystem.h.

◆ timer

Timer Cogs::Core::CinematicCameraData::timer

Used for wait times.

Definition at line 33 of file CinematicCameraSystem.h.


The documentation for this struct was generated from the following file: