bool Enabled { get; set; }

robot_2Generated
code_blocksInput

Description

The Enabled property of the CubemapFogController class indicates whether the cubemap fog effect is currently active. When set to true, the fog effect is applied based on the other properties of the CubemapFogController. When set to false, the fog effect is disabled.

Usage

To use the Enabled property, simply set it to true or false depending on whether you want the cubemap fog effect to be active or not. This property can be accessed and modified at runtime to dynamically control the fog effect in your scene.

Example

// Example of enabling the cubemap fog effect
CubemapFogController fogController = new CubemapFogController();
fogController.Enabled = true; // Activates the fog effect

// Example of disabling the cubemap fog effect
fogController.Enabled = false; // Deactivates the fog effect