ThreePipe
    Preparing search index...

    Function materialPreviewSettingsKey

    • A key of the viewer settings that change a preview: the environment map (with its intensity and rotation), the tone mapping and the output colour space, from materialPreviewOptionsFromViewer. The cache of MaterialPreviewPlugin uses it; a caller that shows a preview can compare it after a viewer update and ask again when it changed.

      Parameters

      • o: Pick<
            MaterialPreviewOptions,
            | "environment"
            | "environmentIntensity"
            | "environmentRotation"
            | "toneMapping"
            | "outputColorSpace",
        >

      Returns string