bool EnableIndirectLighting { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The EnableIndirectLighting property of the SceneCamera class allows you to enable or disable indirect lighting for the camera. Indirect lighting is a rendering technique that simulates the way light bounces off surfaces to illuminate other areas, providing a more realistic lighting effect in the scene.

Usage

To use the EnableIndirectLighting property, simply set it to true to enable indirect lighting or false to disable it. This can be useful for optimizing performance or achieving specific visual effects in your scene.

Example

// Create a new SceneCamera instance
SceneCamera camera = new SceneCamera();

// Enable indirect lighting
camera.EnableIndirectLighting = true;

// Disable indirect lighting
camera.EnableIndirectLighting = false;