cesium-native 0.61.0
Loading...
Searching...
No Matches
LineString.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 {
15struct CESIUMGLTF_API LineString final
20 static constexpr const char* TypeName = "LineString";
21
31 int32_t indices = -1;
32
40 int32_t material = -1;
41
48 int64_t getSizeBytes() const {
49 int64_t accum = 0;
50 accum += int64_t(sizeof(LineString));
52 int64_t(sizeof(CesiumUtility::ExtensibleObject));
53
54 return accum;
55 }
56};
57} // namespace CesiumGltf
Classes for working with glTF models.
Represents one or more line strings to be drawn as edges of a triangle mesh.
Definition LineString.h:16
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition LineString.h:48
static constexpr const char * TypeName
The original name of this type.
Definition LineString.h:20
int32_t indices
The index of the accessor that contains the vertex indices for the line strings.
Definition LineString.h:31
int32_t material
The index of a glTF material with which the edges are to be drawn.
Definition LineString.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 ...