Type alias TAntialiasingOptions

TAntialiasingOptions: {
    enabled?: boolean;
    quality?: "low" | "medium" | "high" | "ultra";
}

Represents all the available antialiasing options.

Type declaration

  • Optional enabled?: boolean

    Enable antialiasing. Only works when device supports WebGL2.

    Default

    true
    
  • Optional quality?: "low" | "medium" | "high" | "ultra"

    Change the quality of antialiasing in the scene. Greater quality means less noise, but worse performance.

    Default

    'medium'