cesium-native 0.43.0
|
Reads ExtensionMeshPrimitiveExtStructuralMetadata instances from JSON. More...
#include <CesiumGltfReader/ExtensionMeshPrimitiveExtStructuralMetadataReader.h>
Public Member Functions | |
ExtensionMeshPrimitiveExtStructuralMetadataReader () | |
Constructs a new instance. | |
CesiumJsonReader::JsonReaderOptions & | getOptions () |
Gets the options controlling how the JSON is read. | |
const CesiumJsonReader::JsonReaderOptions & | getOptions () const |
Gets the options controlling how the JSON is read. | |
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata > | readFromJson (const std::span< const std::byte > &data) const |
Reads an instance of ExtensionMeshPrimitiveExtStructuralMetadata from a byte buffer. | |
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata > | readFromJson (const rapidjson::Value &value) const |
Reads an instance of ExtensionMeshPrimitiveExtStructuralMetadata from a rapidJson::Value. | |
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata > > | readArrayFromJson (const rapidjson::Value &value) const |
Reads an array of instances of ExtensionMeshPrimitiveExtStructuralMetadata from a rapidJson::Value. | |
Reads ExtensionMeshPrimitiveExtStructuralMetadata instances from JSON.
Definition at line 25 of file ExtensionMeshPrimitiveExtStructuralMetadataReader.h.
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata > > CesiumGltfReader::ExtensionMeshPrimitiveExtStructuralMetadataReader::readArrayFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an array of instances of ExtensionMeshPrimitiveExtStructuralMetadata from a rapidJson::Value.
value | The value from which to read the array of instances. |
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata > CesiumGltfReader::ExtensionMeshPrimitiveExtStructuralMetadataReader::readFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an instance of ExtensionMeshPrimitiveExtStructuralMetadata from a rapidJson::Value.
value | The value from which to read the instance. |
CesiumJsonReader::ReadJsonResult< CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata > CesiumGltfReader::ExtensionMeshPrimitiveExtStructuralMetadataReader::readFromJson | ( | const std::span< const std::byte > & | data | ) | const |
Reads an instance of ExtensionMeshPrimitiveExtStructuralMetadata from a byte buffer.
data | The buffer from which to read the instance. |