Description
The EnablePostProcessing
property of the SceneCamera
class allows you to toggle all post-processing effects for the camera. By default, post-processing is enabled. This property is useful for controlling the visual effects applied to the camera's render output, such as bloom, color grading, and other post-processing techniques.
Usage
To use the EnablePostProcessing
property, simply set it to true
to enable post-processing effects or false
to disable them. This can be useful for performance optimization or for achieving a specific visual style in your scene.
Example
// Create a new SceneCamera instance
SceneCamera camera = new SceneCamera();
// Enable post-processing effects
camera.EnablePostProcessing = true;
// Disable post-processing effects
camera.EnablePostProcessing = false;