Scene3D constructor

const Scene3D({
  1. Key? key,
  2. required Camera3D camera,
  3. required List<Mesh3D> meshes,
  4. Vector3? lightDirection,
  5. Color backgroundColor = Colors.black,
  6. bool enableFog = true,
})

Implementation

const Scene3D({
  super.key,
  required this.camera,
  required this.meshes,
  this.lightDirection,
  this.backgroundColor = Colors.black,
  this.enableFog = true, // Sis efekti varsayılan olarak açık
});