cesium-native  0.41.0
AnimationSampler.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/Library.h"
6 
7 #include <CesiumUtility/ExtensibleObject.h>
8 
9 #include <cstdint>
10 #include <string>
11 
12 namespace CesiumGltf {
17 struct CESIUMGLTF_API AnimationSampler final
19  static inline constexpr const char* TypeName = "AnimationSampler";
20 
24  struct Interpolation {
25  inline static const std::string LINEAR = "LINEAR";
26 
27  inline static const std::string STEP = "STEP";
28 
29  inline static const std::string CUBICSPLINE = "CUBICSPLINE";
30  };
31 
39  int32_t input = -1;
40 
47  std::string interpolation = Interpolation::LINEAR;
48 
52  int32_t output = -1;
53 };
54 } // namespace CesiumGltf
Classes for working with glTF models.
Known values for Interpolation algorithm.
An animation sampler combines timestamps with a sequence of output values and defines an interpolatio...
The base class for objects that have extensions and extras.