cesium-native  0.41.0
Animation.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/AnimationChannel.h"
6 #include "CesiumGltf/AnimationSampler.h"
7 #include "CesiumGltf/Library.h"
8 #include "CesiumGltf/NamedObject.h"
9 
10 #include <vector>
11 
12 namespace CesiumGltf {
16 struct CESIUMGLTF_API Animation final : public CesiumGltf::NamedObject {
17  static inline constexpr const char* TypeName = "Animation";
18 
24  std::vector<CesiumGltf::AnimationChannel> channels;
25 
31  std::vector<CesiumGltf::AnimationSampler> samplers;
32 };
33 } // namespace CesiumGltf
Classes for working with glTF models.
A keyframe animation.
Definition: Animation.h:16
std::vector< CesiumGltf::AnimationSampler > samplers
An array of animation samplers. An animation sampler combines timestamps with a sequence of output va...
Definition: Animation.h:31
std::vector< CesiumGltf::AnimationChannel > channels
An array of animation channels. An animation channel combines an animation sampler with a target prop...
Definition: Animation.h:24
The base class for objects in a glTF that have a name.
Definition: NamedObject.h:15