Description
The BakedFogTexture
property of the VolumetricFogController
class is used to store the baked fog texture. This texture is essential for rendering volumetric fog effects in a scene. The property is publicly accessible, allowing other components or systems to retrieve the baked fog texture from the map file.
Usage
To use the BakedFogTexture
property, you need to have an instance of the VolumetricFogController
component. You can then access the property to get the current baked fog texture.
Example usage:
VolumetricFogController fogController = new VolumetricFogController();
Texture fogTexture = fogController.BakedFogTexture;
// Use fogTexture as needed
Example
VolumetricFogController fogController = new VolumetricFogController();
Texture fogTexture = fogController.BakedFogTexture;
// Use fogTexture as needed