Skip to main content
API Reference SwiftyNsdk PlaybackDatasetLoader

loadDepthData

Loads depth data from the data source....

Declaration

func loadDepthData(depthFileName: String) -> Data?

Summary

Loads depth data from the data source.
This method must be overridden by subclasses. The base implementation will crash if called.
Called on-demand when depth data is requested.
- Parameter depthFileName: The filename of the depth data file (e.g., "depth_00000000.bin")
- Returns: The depth data as Data, or nil if loading fails or depth data is not available
- Important: Subclasses must override this method. Do not call the base implementation.


ON THIS PAGE