ThreeJS constructor

ThreeJS({
  1. Settings? settings,
  2. required void onSetupComplete(),
  3. void rendererUpdate()?,
  4. void postProcessor([
    1. double? dt
    ])?,
  5. void windowResizeUpdate(
    1. Size newSize
    )?,
  6. required FutureOr<void> setup()?,
  7. Size? size,
  8. WebGLRenderer? renderer,
  9. FlutterAngleTexture? texture,
})

Implementation

ThreeJS({
  Settings? settings,
  required this.onSetupComplete,
  this.rendererUpdate,
  this.postProcessor,
  this.windowResizeUpdate,
  required this.setup,
  Size? size,
  core.WebGLRenderer? renderer,
  this.texture
}){
  this.settings = settings ?? Settings();
  _size = size;
  lateRenderer = renderer;
}