three-cad-viewer
    Preparing search index...

    Interface StudioOptions

    Root-level Studio mode configuration.

    Optional configuration for the rendering environment, only used when the Studio tab is active. Fields map directly to ViewerState keys on load.

    interface StudioOptions {
        aoIntensity?: number;
        background?: StudioBackground;
        envIntensity?: number;
        environment?: string;
        envRotation?: number;
        shadowIntensity?: number;
        shadowSoftness?: number;
        textureMapping?: StudioTextureMapping;
        toneMapping?: StudioToneMapping;
        toneMappingExposure?: number;
        use4kEnvMaps?: boolean;
    }
    Index

    Properties

    aoIntensity?: number

    Ambient occlusion intensity, 0-3.0 (default: 0 = off)

    background?: StudioBackground

    Background mode (default: "environment")

    envIntensity?: number

    Environment map intensity, 0-1 (default: 0.5)

    environment?: string

    Environment preset slug, custom HDR URL, or "none" (default: "studio")

    envRotation?: number

    Environment map rotation in degrees (default: 0)

    shadowIntensity?: number

    Shadow intensity, 0-1 (default: 0 = off)

    shadowSoftness?: number

    Shadow softness, 0-1 (default: 0.3)

    textureMapping?: StudioTextureMapping

    Texture mapping mode (default: "triplanar")

    toneMapping?: StudioToneMapping

    Tone mapping algorithm (default: "neutral")

    toneMappingExposure?: number

    Tone mapping exposure (default: 1.0)

    use4kEnvMaps?: boolean

    Use 4K environment maps instead of 2K (default: false)