cesium-native 0.66.0
Loading...
Searching...
No Matches
ExtensionExtNodeVisibilityVolume.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/BoundingVolume.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9namespace CesiumGltf {
14struct CESIUMGLTF_API ExtensionExtNodeVisibilityVolume final
19 static constexpr const char* TypeName = "ExtensionExtNodeVisibilityVolume";
22 static constexpr const char* ExtensionName = "EXT_node_visibility_volume";
23
28
35 int64_t getSizeBytes() const {
36 int64_t accum = 0;
37 accum += int64_t(sizeof(ExtensionExtNodeVisibilityVolume));
39 int64_t(sizeof(CesiumUtility::ExtensibleObject));
40 accum += this->boundingVolume.getSizeBytes() -
41 int64_t(sizeof(CesiumGltf::BoundingVolume));
42 return accum;
43 }
44};
45} // namespace CesiumGltf
Classes for working with glTF models.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Defines the structure of the extension object that is associated with a KHR_node_visibility object to...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
static constexpr const char * TypeName
The original name of this type.
CesiumGltf::BoundingVolume boundingVolume
The visibility bounding volume for the node.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
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 ...