cesium-native  0.41.0
Cesium3DTilesWriter::SubtreeWriter Class Reference

Writes subtrees. More...

#include <Cesium3DTilesWriter/SubtreeWriter.h>

Public Member Functions

 SubtreeWriter ()
 Constructs a new instance.
 
CesiumJsonWriter::ExtensionWriterContextgetExtensions ()
 Gets the context used to control how subtree extensions are written.
 
const CesiumJsonWriter::ExtensionWriterContextgetExtensions () 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...
 

Detailed Description

Writes subtrees.

Definition at line 48 of file SubtreeWriter.h.

Member Function Documentation

◆ writeSubtree()

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.

Parameters
subtreeThe subtree.
optionsOptions for how to write the subtree.
Returns
The result of writing the subtree.

The documentation for this class was generated from the following file: