RSX Code Reference
    Preparing search index...

    Class PreviewSceneSettings

    The PreviewSceneSettings class contains settings for preview scene creation.

    Preview scenes are used for viewport such as the MaterialKeyWindow but also for LibraryIconGeneration.

    Index
    analyticalSkyTimeAndLocation: TimeAndLocation
    cameraAzimuth: rsx.Degree
    cameraClearColor: Color
    cameraDistance: number
    cameraFieldOfView: rsx.Degree
    cameraPitch: rsx.Degree
    directionalLightDirection: rsx.Degree
    directionalLightElevation: rsx.Degree
    directionalLightIntensity: number
    directionalLightTemperature: number
    hasAnalyticalSky: boolean
    hasDirectionalLight: boolean
    hasGroundPlane: boolean
    skyCubemapTexture: ResourceHandle<Texture>

    Environment texture. Must be cubemap. Serialized as path in environmentPath.

    skyTextureBlur: number
    skyTextureOpacity: number
    templateName: string

    The name of teh template.

    templateScene: ResourceHandle<Template>

    Template used as base for creating the environment. Serialized as path in templateScenePath.

    builtInPresetNameDawn: "Dawn"
    builtInPresetNameDusk: "Dusk"
    builtInPresetNameLibraryIcon: "LibraryIcon"
    builtInPresetNameNoon: "Noon"
    builtInPresetNameStudio: "Studio"