OptionalphysicsPhysics related settings for the scene.
Optionalgravity?: [number, number, number]An array of 3 numbers that represents the gravity force.
OptionalrenderRender settings for the scene.
Optionalexposure?: numberThe exposure value tweaks the overall brightness of the scene.
Optionalfog?: numberThe type of fog used in the scene. Can be one of pc.FOG_NONE, pc.FOG_LINEAR, pc.FOG_EXP, pc.FOG_EXP2.
Optionalfog_color?: [number, number, number]An array of 3 numbers representing the color of the fog.
Optionalfog_density?: numberThe density of the fog. This property is only valid if the fog property is set to pc.FOG_EXP or pc.FOG_EXP2.
Optionalfog_end?: numberThe distance from the viewpoint where linear fog reaches its maximum. This property is only valid if the fog property is set to pc.FOG_LINEAR.
Optionalfog_start?: numberThe distance from the viewpoint where linear fog begins. This property is only valid if the fog property is set to pc.FOG_LINEAR.
Optionalgamma_correction?: numberThe gamma correction to apply when rendering the scene. Can be one of pc.GAMMA_NONE, pc.GAMMA_SRGB.
Optionalglobal_ambient?: [number, number, number]An array of 3 numbers representing the color of the scene's ambient light.
OptionallightmapMaxResolution?: numberThe maximum lightmap resolution.
OptionallightmapMode?: numberThe lightmap baking mode. Can be one of pc.BAKE_COLOR, pc.BAKE_COLORDIR.
OptionallightmapSizeMultiplier?: numberThe lightmap resolution multiplier.
Optionalskybox?: numberThe id of the cubemap texture to be used as the scene's skybox.
OptionalskyboxIntensity?: numberMultiplier for skybox intensity.
OptionalskyboxMip?: numberThe mip level of the skybox to be displayed. Only valid for prefiltered cubemap skyboxes.
OptionalskyboxRotation?: [number, number, number]An array of 3 numbers representing the rotation of the skybox.
Optionaltonemapping?: numberThe tonemapping transform to apply when writing fragments to the frame buffer. Can be: pc.TONEMAP_LINEAR, pc.TONEMAP_FILMIC, pc.TONEMAP_HEJL, pc.TONEMAP_ACES.
Represents the settings for the currently loaded scene.