cesium-native 0.66.0
Loading...
Searching...
No Matches
ExtensionNode3dTilesLayers.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
10namespace CesiumGltf {
14struct CESIUMGLTF_API ExtensionNode3dTilesLayers final
19 static constexpr const char* TypeName = "ExtensionNode3dTilesLayers";
22 static constexpr const char* ExtensionName = "3DTILES_layers";
23
31 int32_t layer = -1;
32
39 int64_t getSizeBytes() const {
40 int64_t accum = 0;
41 accum += int64_t(sizeof(ExtensionNode3dTilesLayers));
43 int64_t(sizeof(CesiumUtility::ExtensibleObject));
44
45 return accum;
46 }
47};
48} // namespace CesiumGltf
Classes for working with glTF models.
glTF extension that assigns a node to a layer.
static constexpr const char * TypeName
The original name of this type.
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.
int32_t layer
The index of the layer that this node belongs to. The value is an index into the array of layers that...
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 ...