cesium-native 0.63.0
Loading...
Searching...
No Matches
ExtensionMaterialBentleyMaterialsLineStyle.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 {
20 static constexpr const char* TypeName =
21 "ExtensionMaterialBentleyMaterialsLineStyle";
24 static constexpr const char* ExtensionName = "BENTLEY_materials_line_style";
25
33 int64_t width = 1;
34
48 int64_t pattern = 65535;
49
56 int64_t getSizeBytes() const {
57 int64_t accum = 0;
58 accum += int64_t(sizeof(ExtensionMaterialBentleyMaterialsLineStyle));
60 int64_t(sizeof(CesiumUtility::ExtensibleObject));
61
62 return accum;
63 }
64};
65} // namespace CesiumGltf
Classes for working with glTF models.
glTF extension that specifies line width and a GPU-friendly dash pattern for CAD-style visualization.
int64_t pattern
Unsigned integer bitfield encoding a repeating on/off pattern along the line.
static constexpr const char * TypeName
The original name of this type.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
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 ...