cesium-native 0.66.0
Loading...
Searching...
No Matches
ExtensionModelExtNodeVisibilityConditionsDimensionsValue.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#include <CesiumUtility/JsonValue.h>
8
9#include <string>
10#include <vector>
11
12namespace CesiumGltf {
17 final : public CesiumUtility::ExtensibleObject {
21 static constexpr const char* TypeName =
22 "ExtensionModelExtNodeVisibilityConditionsDimensionsValue";
23
27 std::string name;
28
32 std::vector<CesiumUtility::JsonValue> domain;
33
40 int64_t getSizeBytes() const {
41 int64_t accum = 0;
42 accum += int64_t(
45 int64_t(sizeof(CesiumUtility::ExtensibleObject));
46 accum += int64_t(this->name.capacity() * sizeof(char));
47 accum +=
48 int64_t(sizeof(CesiumUtility::JsonValue) * this->domain.capacity());
49 return accum;
50 }
51};
52} // namespace CesiumGltf
A generic implementation of a value in a JSON structure.
Definition JsonValue.h:53
Classes for working with glTF models.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::vector< CesiumUtility::JsonValue > domain
The set of all possible values for this dimension.
std::string name
The name of the property that is used for defining the condition.
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 ...