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