|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
A single animation channel targeting one joint's transform property. More...
#include <AnimationAsset.h>
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) | |
A single animation channel targeting one joint's transform property.
Definition at line 32 of file AnimationAsset.h.
|
strong |
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.
| InterpolationType Engine::Animation::AnimationChannel::interpolation = InterpolationType::LINEAR |
Keyframe interpolation mode.
Definition at line 45 of file AnimationAsset.h.
| 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 Engine::Animation::AnimationChannel::path = Path::TRANSLATION |
Target transform property.
Definition at line 44 of file AnimationAsset.h.
| std::vector<float> Engine::Animation::AnimationChannel::timestamps |
Keyframe times in seconds.
Definition at line 46 of file AnimationAsset.h.
| 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.