Skip to main content
API Reference NianticSpatial.NSDK.ScanReconstruction GaussianSplatProcessor

ProcessSplat


Declaration

public async Task<GaussianSplat> ProcessSplat(Action<ReconstructionEvent> callback, CancellationToken cancellationToken, Quality splatQuality, Format exportFormat = Format.None, string exportPath = null, bool convertToRdf = false)

Parameters

NameTypeSummary
callbackAction<ReconstructionEvent>
The callback to receive progress and results.
This callback may be invoked on an arbitrary thread.
cancellationTokenCancellationToken
Cancellation token for cancelling the result early.
splatQualityQuality
The quality level determines the processing phases.
Higher results in a better result but a longer processing time.
exportFormatFormat
(Optional) Export the splat to a file with the specified format.
exportPathstring
(Optional) The path to export the file to. If no path is provided,
the export will be saved to the scan recording directory
convertToRdfbool
Whether to convert coordinates from RUB to RDF when exporting.