cesium-native 0.66.0
Loading...
Searching...
No Matches
ExternalAsset.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 <CesiumGltf/NamedObject.h>
7
8#include <cstdint>
9
10namespace CesiumGltf {
15struct CESIUMGLTF_API ExternalAsset final : public CesiumGltf::NamedObject {
19 static constexpr const char* TypeName = "ExternalAsset";
20
27 int32_t file = -1;
28
35 int64_t getSizeBytes() const {
36 int64_t accum = 0;
37 accum += int64_t(sizeof(ExternalAsset));
39 int64_t(sizeof(CesiumGltf::NamedObject));
40
41 return accum;
42 }
43};
44} // namespace CesiumGltf
Classes for working with glTF models.
An external asset that references a file in the files array and may be instantiated by any node.
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.
int32_t file
The index of the file reference used for this external asset.
The base class for objects in a glTF that have a name.
Definition NamedObject.h:14
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition NamedObject.h:28