3#include "Resources/Resources.h"
5#include "Foundation/ComponentModel/Component.h"
7#include <glm/gtc/quaternion.hpp>
15 enum class CameraEasingMode : uint32_t
97template<>
inline Cogs::StringView getName<Cogs::Core::CinematicCameraComponent>() {
return "CinematicCameraComponent"; }
98template<>
inline Cogs::StringView getName<Cogs::Core::CameraEasingMode>() {
return "CameraEasingMode"; }
99template<>
inline Cogs::StringView getName<std::vector<Cogs::Core::CameraEasingMode>>() {
return "vector<CameraEasingMode>"; }
Base class for Component instances.
std::vector< glm::quat > interestPointRotation
Rotation of the Camera.
bool isCinematicPlaying
Wether this sequence is listed to play or not.
std::vector< float > interestPointWaitingTime
Waiting Time before interpolating towards point[++i].
bool loop
Wether this sequence is marked to loop endlessly.
std::vector< CameraEasingMode > interestPointEasingMode
Easing Mode between points[–i] and points[i].
std::vector< glm::vec3 > interestPointPosition
It is assumed that the arrays are of equal length (ALWAYS), otherwise component will just bail out of...
static void registerType()
Register the type in the type system.
std::vector< float > interestPointTimeToReach
Interpolation time to reach point[i].
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.