cesium-native 0.66.0
Loading...
Searching...
No Matches
Plane.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 <optional>
9
10namespace CesiumGltf {
16struct CESIUMGLTF_API Plane final : public CesiumUtility::ExtensibleObject {
20 static constexpr const char* TypeName = "Plane";
21
26 std::optional<double> sizeX;
27
32 std::optional<double> sizeZ;
33
40 int64_t getSizeBytes() const {
41 int64_t accum = 0;
42 accum += int64_t(sizeof(Plane));
44 int64_t(sizeof(CesiumUtility::ExtensibleObject));
45
46 return accum;
47 }
48};
49} // namespace CesiumGltf
Classes for working with glTF models.
A plane centered at the origin in local space, optionally with finite extents, with normal along the ...
Definition Plane.h:16
static constexpr const char * TypeName
The original name of this type.
Definition Plane.h:20
std::optional< double > sizeX
The extents along the X axis in local space. If not provided, this dimension should be considered inf...
Definition Plane.h:26
std::optional< double > sizeZ
The extents along the Z axis in local space. If not provided, this dimension should be considered inf...
Definition Plane.h:32
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition Plane.h:40
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 ...