cesium-native 0.66.0
Loading...
Searching...
No Matches
ExtensionModelExtNodeVisibilityConditions.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/ExtensionModelExtNodeVisibilityConditionsDimensionsValue.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <vector>
10
11namespace CesiumGltf {
21 static constexpr const char* TypeName =
22 "ExtensionModelExtNodeVisibilityConditions";
25 static constexpr const char* ExtensionName = "EXT_node_visibility_conditions";
26
31 std::vector<
34
41 int64_t getSizeBytes() const {
42 int64_t accum = 0;
43 accum += int64_t(sizeof(ExtensionModelExtNodeVisibilityConditions));
45 int64_t(sizeof(CesiumUtility::ExtensibleObject));
46 accum += int64_t(
47 sizeof(CesiumGltf::
49 this->dimensions.capacity());
50 for (const CesiumGltf::
52 this->dimensions) {
53 accum +=
54 value.getSizeBytes() -
55 int64_t(sizeof(
58 }
59 return accum;
60 }
61};
62} // namespace CesiumGltf
Classes for working with glTF models.
Defines the structure of the extension object that is stored as the EXT_node_visibility_conditions ex...
std::vector< CesiumGltf::ExtensionModelExtNodeVisibilityConditionsDimensionsValue > dimensions
The dimensions of the conditions, each consisting of the name and domain of the respective property.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
static constexpr const char * TypeName
The original name of this type.
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 ...