GaussianSplatterWidget constructor

const GaussianSplatterWidget({
  1. required String assetPath,
  2. String? backgroundAssetPath,
  3. Key? key,
  4. bool showStats = false,
  5. bool enableProfiling = false,
})

Creates a Gaussian splatter widget.

The assetPath must point to a valid .ply file or processed splat data. Set showStats to true to display rendering statistics overlay. Set enableProfiling to true to enable detailed performance profiling

Implementation

const GaussianSplatterWidget({
  required this.assetPath,
  this.backgroundAssetPath,
  super.key,
  this.showStats = false,
  this.enableProfiling = false,
});