Vulkan Schnee 0.0.1 (22840dc8)
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
}
 Transform property animated by this channel. More...

Public Attributes

uint32_t jointIndex = 0
 Index of the targeted joint in the bound skeleton.
Path path = Path::TRANSLATION
 Target transform property.
InterpolationType interpolation = InterpolationType::LINEAR
 Keyframe interpolation mode.
std::vector< float > timestamps
 Keyframe times in seconds.
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 32 of file AnimationAsset.h.

Member Enumeration Documentation

◆ Path

Transform property animated by this channel.

Enumerator
TRANSLATION 

Channel animates local translation.

ROTATION 

Channel animates local rotation.

SCALE 

Channel animates local scale.

Definition at line 38 of file AnimationAsset.h.

Member Data Documentation

◆ interpolation

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

Keyframe interpolation mode.

Definition at line 45 of file AnimationAsset.h.

◆ jointIndex

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

Index of the targeted joint in the bound skeleton.

Definition at line 34 of file AnimationAsset.h.

◆ path

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

Target transform property.

Definition at line 44 of file AnimationAsset.h.

◆ timestamps

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

Keyframe times in seconds.

Definition at line 46 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 47 of file AnimationAsset.h.


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