cesium-native 0.43.0
Loading...
Searching...
No Matches
AnimationChannel.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/AnimationChannelTarget.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <cstdint>
10
11namespace CesiumGltf {
16struct CESIUMGLTF_API AnimationChannel final
21 static constexpr const char* TypeName = "AnimationChannel";
22
30 int32_t sampler = -1;
31
36
43 int64_t getSizeBytes() const {
44 int64_t accum = 0;
45 accum += int64_t(sizeof(AnimationChannel));
47 int64_t(sizeof(CesiumUtility::ExtensibleObject));
48 accum += this->target.getSizeBytes() -
50 return accum;
51 }
52};
53} // namespace CesiumGltf
Classes for working with glTF models.
The descriptor of the animated property.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
An animation channel combines an animation sampler with a target property being animated.
CesiumGltf::AnimationChannelTarget 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 ...