Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Animation::AnimationChannel Struct Reference

A single animation channel targeting one joint's transform property. More...

#include <AnimationAsset.h>

Collaboration diagram for Engine::Animation::AnimationChannel:

Public Types

enum class  Path {
  TRANSLATION ,
  ROTATION ,
  SCALE
}

Public Attributes

uint32_t jointIndex = 0
enum Engine::Animation::AnimationChannel::Path path = Path::TRANSLATION
InterpolationType interpolation = InterpolationType::LINEAR
std::vector< float > timestamps
std::vector< glm::vec4 > values
 vec3 for T/S (w unused), quat for R (xyzw)

Detailed Description

A single animation channel targeting one joint's transform property.

Definition at line 25 of file AnimationAsset.h.

Member Enumeration Documentation

◆ Path

Enumerator
TRANSLATION 
ROTATION 
SCALE 

Definition at line 28 of file AnimationAsset.h.

Member Data Documentation

◆ interpolation

InterpolationType Engine::Animation::AnimationChannel::interpolation = InterpolationType::LINEAR

Definition at line 34 of file AnimationAsset.h.

◆ jointIndex

uint32_t Engine::Animation::AnimationChannel::jointIndex = 0

Definition at line 27 of file AnimationAsset.h.

◆ path

enum Engine::Animation::AnimationChannel::Path Engine::Animation::AnimationChannel::path = Path::TRANSLATION

◆ timestamps

std::vector<float> Engine::Animation::AnimationChannel::timestamps

Definition at line 35 of file AnimationAsset.h.

◆ values

std::vector<glm::vec4> Engine::Animation::AnimationChannel::values

vec3 for T/S (w unused), quat for R (xyzw)

Definition at line 36 of file AnimationAsset.h.


The documentation for this struct was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Animation/AnimationAsset.h