Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
KeyframeRot Struct Reference

Keyframe storing a quaternion rotation at a specific timestamp. More...

#include <Animator.hpp>

Public Attributes

float time = 0.0f
 Time offset in seconds.
glm::quat value = glm::quat(1.0f, 0.0f, 0.0f, 0.0f)
 Quaternion rotation value.

Detailed Description

Keyframe storing a quaternion rotation at a specific timestamp.

Member Data Documentation

◆ time

float KeyframeRot::time = 0.0f

Time offset in seconds.

◆ value

glm::quat KeyframeRot::value = glm::quat(1.0f, 0.0f, 0.0f, 0.0f)

Quaternion rotation value.


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