Tramway SDK
Public Attributes | List of all members
tram::Render::Keyframe Struct Reference

Keyframe for a skeletal animation. More...

#include <render/animation.h>

Public Attributes

float frame = 0.0f
 Used only when keyframes are used in the context of an animation. More...
 
vec3 location = {0.0f, 0.0f, 0.0f}
 
quat rotation = {1.0f, 0.0f, 0.0f, 0.0f}
 
vec3 scale = {1.0f, 1.0f, 1.0f}
 
char padding [4]
 

Detailed Description

Keyframe for a skeletal animation.

All of the translation, rotation and scaling operations will be performed in a given bone's local space.

Member Data Documentation

◆ frame

tram::Render::Keyframe::frame = 0.0f

Used only when keyframes are used in the context of an animation.

See also
tram::Render::Animation
https://racenis.github.io/tram-sdk/documentation/render/animation.html

◆ location

vec3 tram::Render::Keyframe::location = {0.0f, 0.0f, 0.0f}

◆ padding

char tram::Render::Keyframe::padding[4]

◆ rotation

quat tram::Render::Keyframe::rotation = {1.0f, 0.0f, 0.0f, 0.0f}

◆ scale

vec3 tram::Render::Keyframe::scale = {1.0f, 1.0f, 1.0f}

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