cesium-native 0.43.0
Loading...
Searching...
No Matches
Cesium3DTilesContent::PntsToGltfConverter Struct Reference

Converts a pnts (Point Cloud) file to a glTF model. More...

#include <Cesium3DTilesContent/PntsToGltfConverter.h>

Static Public Member Functions

static CesiumAsync::Future< GltfConverterResultconvert (const std::span< const std::byte > &pntsBinary, const CesiumGltfReader::GltfReaderOptions &options, const AssetFetcher &assetFetcher)
 Converts an pnts binary file to a glTF model.
 

Detailed Description

Converts a pnts (Point Cloud) file to a glTF model.

For more information on the pnts format, see https://github.com/CesiumGS/3d-tiles/blob/main/specification/TileFormats/PointCloud/README.adoc

Definition at line 21 of file PntsToGltfConverter.h.

Member Function Documentation

◆ convert()

static CesiumAsync::Future< GltfConverterResult > Cesium3DTilesContent::PntsToGltfConverter::convert ( const std::span< const std::byte > & pntsBinary,
const CesiumGltfReader::GltfReaderOptions & options,
const AssetFetcher & assetFetcher )
static

Converts an pnts binary file to a glTF model.

Parameters
pntsBinaryThe bytes loaded for the pnts model.
optionsOptions for how the glTF should be loaded.
assetFetcherThe AssetFetcher containing information used by loaded assets.
Returns
A future that resolves to a GltfConverterResult.

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