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