cesium-native  0.41.0
Cesium3DTilesWriter::TilesetWriter Class Reference

Writes tilesets. More...

#include <Cesium3DTilesWriter/TilesetWriter.h>

Public Member Functions

 TilesetWriter ()
 Constructs a new instance.
 
CesiumJsonWriter::ExtensionWriterContextgetExtensions ()
 Gets the context used to control how tileset extensions are written.
 
const CesiumJsonWriter::ExtensionWriterContextgetExtensions () const
 Gets the context used to control how tileset extensions are written.
 
TilesetWriterResult writeTileset (const Cesium3DTiles::Tileset &tileset, const TilesetWriterOptions &options=TilesetWriterOptions()) const
 Serializes the provided tileset object into a byte vector using the provided flags to convert. More...
 

Detailed Description

Writes tilesets.

Definition at line 48 of file TilesetWriter.h.

Member Function Documentation

◆ writeTileset()

TilesetWriterResult Cesium3DTilesWriter::TilesetWriter::writeTileset ( const Cesium3DTiles::Tileset tileset,
const TilesetWriterOptions options = TilesetWriterOptions() 
) const

Serializes the provided tileset object into a byte vector using the provided flags to convert.

Parameters
tilesetThe tileset.
optionsOptions for how to write the tileset.
Returns
The result of writing the tileset.

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