interface Settings {
    analyticsEnabled?: boolean;
    animationTime?: number;
    antialias?: boolean;
    background?: BackgroundSetting;
    backgroundAlpha?: number;
    backgroundRotation?: number;
    clippingHighlight?: boolean;
    clippingHighlightColor?: Color;
    color?: Color;
    continuousRendering?: boolean;
    customAngleFormatter?: CustomAngleFormatter;
    customLengthFormatter?: CustomLengthFormatter;
    customSlopeAngleFormatter?: CustomSlopeAngleFormatter;
    darkModeMaterials?: boolean;
    debugRenderVertices?: boolean;
    debugRenderWireframe?: boolean;
    debugVerticesColor?: Color;
    debugWireframeColor?: Color;
    decimals?: number;
    environmentMapColorSpace?: ColorSpace;
    environmentMapExposure?: number;
    environmentMapToneMapping?: ToneMapping;
    environmentMapUrl?: string;
    forceDoubleSideMaterials?: boolean;
    fxaa?: boolean;
    globalOpacity?: number;
    hoverColor?: Color;
    hoverHighlightEnabled?: boolean;
    lengthUnit?: LengthUnit;
    maxGpuMemoryCache?: number;
    maxMemoryCache?: number;
    msaa?: boolean;
    navigationSnapDistance?: number;
    orderIndependentTransparency?: boolean;
    progressiveRendering?: boolean;
    renderEdges?: boolean;
    sandbox?: boolean;
    selectionColor?: Color;
    snapDistance?: number;
    ssao?: boolean;
    staticRootUrl?: string;
    transparencyPeelsCount?: number;
    useWebgpu?: boolean;
    vertexInterpolationMaterials?: boolean;
    xrCompatible?: boolean;
}

Properties

analyticsEnabled?: boolean
animationTime?: number
antialias?: boolean

Deprecated

use fxaa instead

background?: BackgroundSetting
backgroundAlpha?: number
backgroundRotation?: number
clippingHighlight?: boolean
clippingHighlightColor?: Color
color?: Color
continuousRendering?: boolean
customAngleFormatter?: CustomAngleFormatter
customLengthFormatter?: CustomLengthFormatter
customSlopeAngleFormatter?: CustomSlopeAngleFormatter
darkModeMaterials?: boolean
debugRenderVertices?: boolean
debugRenderWireframe?: boolean
debugVerticesColor?: Color
debugWireframeColor?: Color
decimals?: number
environmentMapColorSpace?: ColorSpace
environmentMapExposure?: number
environmentMapToneMapping?: ToneMapping
environmentMapUrl?: string
forceDoubleSideMaterials?: boolean
fxaa?: boolean
globalOpacity?: number
hoverColor?: Color
hoverHighlightEnabled?: boolean
lengthUnit?: LengthUnit
maxGpuMemoryCache?: number
maxMemoryCache?: number
msaa?: boolean
navigationSnapDistance?: number
orderIndependentTransparency?: boolean
progressiveRendering?: boolean
renderEdges?: boolean
sandbox?: boolean
selectionColor?: Color
snapDistance?: number
ssao?: boolean
staticRootUrl?: string
transparencyPeelsCount?: number
useWebgpu?: boolean
vertexInterpolationMaterials?: boolean
xrCompatible?: boolean

Deprecated

dont use, xr mode is switched on automatically, use msaa for antialiasing