float FadeInEnd { get; set; }

robot_2Generated
code_blocksInput

Description

The FadeInEnd property specifies the end distance at which the volumetric fog effect's fading process concludes. This property is part of the VolumetricFogParameters class, which is used to configure various aspects of the volumetric fog system in a scene.

Usage

To use the FadeInEnd property, you need to have an instance of the VolumetricFogParameters class. You can then set or get the value of FadeInEnd to control where the fog effect stops fading in the scene.

For example, if you want the fog to stop fading at a distance of 100 units from the camera, you would set FadeInEnd to 100.

Example

// Example of setting the FadeInEnd property
VolumetricFogParameters fogParams = new VolumetricFogParameters();
fogParams.FadeInEnd = 100.0f;

// Accessing the FadeInEnd property
float fadeInEndDistance = fogParams.FadeInEnd;

// Use fadeInEndDistance in your logic
if (fadeInEndDistance > 50.0f)
{
    // Perform some action
}