cesium-native 0.43.0
Loading...
Searching...
No Matches
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#include <CesiumUtility/ExtensibleObject.h>
7
8#include <cstdint>
9#include <string>
10
11namespace CesiumGltf {
16struct CESIUMGLTF_API AnimationSampler final
21 static constexpr const char* TypeName = "AnimationSampler";
22
31 inline static const std::string LINEAR = "LINEAR";
32
36 inline static const std::string STEP = "STEP";
37
44 inline static const std::string CUBICSPLINE = "CUBICSPLINE";
45 };
46
54 int32_t input = -1;
55
62 std::string interpolation = Interpolation::LINEAR;
63
67 int32_t output = -1;
68
75 int64_t getSizeBytes() const {
76 int64_t accum = 0;
77 accum += int64_t(sizeof(AnimationSampler));
79 int64_t(sizeof(CesiumUtility::ExtensibleObject));
80
81 return accum;
82 }
83};
84} // 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...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...