cesium-native 0.43.0
|
Reads Node instances from JSON. More...
#include <CesiumGltfReader/NodeReader.h>
Public Member Functions | |
NodeReader () | |
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::Node > | readFromJson (const std::span< const std::byte > &data) const |
Reads an instance of Node from a byte buffer. | |
CesiumJsonReader::ReadJsonResult< CesiumGltf::Node > | readFromJson (const rapidjson::Value &value) const |
Reads an instance of Node from a rapidJson::Value. | |
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::Node > > | readArrayFromJson (const rapidjson::Value &value) const |
Reads an array of instances of Node from a rapidJson::Value. | |
Reads Node instances from JSON.
Definition at line 24 of file NodeReader.h.
CesiumJsonReader::ReadJsonResult< std::vector< CesiumGltf::Node > > CesiumGltfReader::NodeReader::readArrayFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an array of instances of Node from a rapidJson::Value.
value | The value from which to read the array of instances. |
CesiumJsonReader::ReadJsonResult< CesiumGltf::Node > CesiumGltfReader::NodeReader::readFromJson | ( | const rapidjson::Value & | value | ) | const |
Reads an instance of Node from a rapidJson::Value.
value | The value from which to read the instance. |
CesiumJsonReader::ReadJsonResult< CesiumGltf::Node > CesiumGltfReader::NodeReader::readFromJson | ( | const std::span< const std::byte > & | data | ) | const |
Reads an instance of Node from a byte buffer.
data | The buffer from which to read the instance. |