cesium-native 0.43.0
Loading...
Searching...
No Matches
AnimationChannelTarget.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 {
15struct CESIUMGLTF_API AnimationChannelTarget final
20 static constexpr const char* TypeName = "AnimationChannelTarget";
21
31 struct Path {
33 inline static const std::string translation = "translation";
34
36 inline static const std::string rotation = "rotation";
37
39 inline static const std::string scale = "scale";
40
42 inline static const std::string weights = "weights";
43 };
44
49 int32_t node = -1;
50
62 std::string path = Path::translation;
63
70 int64_t getSizeBytes() const {
71 int64_t accum = 0;
72 accum += int64_t(sizeof(AnimationChannelTarget));
74 int64_t(sizeof(CesiumUtility::ExtensibleObject));
75
76 return accum;
77 }
78};
79} // namespace CesiumGltf
Classes for working with glTF models.
Known values for The name of the node's TRS property to animate, or the "weights" of the Morph Target...
The descriptor of the animated property.
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 ...