cesium-native
0.41.0
|
Writes subtrees. More...
#include <Cesium3DTilesWriter/SubtreeWriter.h>
Public Member Functions | |
SubtreeWriter () | |
Constructs a new instance. | |
CesiumJsonWriter::ExtensionWriterContext & | getExtensions () |
Gets the context used to control how subtree extensions are written. | |
const CesiumJsonWriter::ExtensionWriterContext & | getExtensions () const |
Gets the context used to control how subtree extensions are written. | |
SubtreeWriterResult | writeSubtree (const Cesium3DTiles::Subtree &subtree, const SubtreeWriterOptions &options=SubtreeWriterOptions()) const |
Serializes the provided subtree object into a byte vector using the provided flags to convert. More... | |
Writes subtrees.
Definition at line 48 of file SubtreeWriter.h.
SubtreeWriterResult Cesium3DTilesWriter::SubtreeWriter::writeSubtree | ( | const Cesium3DTiles::Subtree & | subtree, |
const SubtreeWriterOptions & | options = SubtreeWriterOptions() |
||
) | const |
Serializes the provided subtree object into a byte vector using the provided flags to convert.
subtree | The subtree. |
options | Options for how to write the subtree. |