GaussianSplatterWidget constructor

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

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 Set disableAlphaWrite to true to optimize bandwidth by disabling alpha writes

Implementation

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