The Atmosphere class provides built-in atmosphere effects. Such features include a skybox, skysphere, 2D cloud layers, lens flares, rain, and a sun effect.
VB.NET
Dim Atmosphere As TVAtmosphere Atmosphere = New TVAtmosphere
C++
//todo
| Method | Description |
|---|---|
| Atmosphere_Render | Renders all enable atmosphere components. |
| Clouds_Create | Creates cloud layers. |
| Clouds_Enable | Enables rendering of cloud layers. |
| Clouds_GetLayerColor | Returns the color of the specified cloud layer. |
| Clouds_Render | Renders the cloud layers separately. |
| Clouds_SetAlphaTest | Sets alpha testing properties of the specified cloud layer. |
| Clouds_SetLayerAnimation | Sets animation properties of the specified cloud layer. |
| Clouds_SetLayerBlendMode | Sets the blending mode of the specified cloud layer. |
| Clouds_SetLayerColor | Sets the color of the specified cloud layer. |
| Clouds_SetLayerParameters | Sets specific parameters for the specified cloud layer. |
| Fog_Enable | Enables atmospheric fog. |
| Fog_GetColor | Returns the color of the fog. |
| Fog_GetParameters | Returns the current parameters set for the fog. |
| Fog_GetType | Returns the current type of fog. |
| Fog_IsEnabled | Returns whether the fog is enabled. |
| Fog_SetColor | Sets the color of the fog. |
| Fog_SetParameters | Sets specific parameters for the fog. |
| Fog_SetType | Sets the type of fog to use. |
| GetIndex | Returns the unique object id of this atmosphere. |
| LensFlare_Enable | Enables rendering of the lens flare. |
| LensFlare_SetLensNumber | Sets the number of lens flare layers. |
| LensFlare_SetLensParams | Sets parameters for the lens flare. |
| Rain_Enable | Enables rendering of the rain particles. |
| Rain_GetParticleSystem | Returns the particle system class used internally for rain. |
| Rain_Init | Initializes the rain system. |
| Rain_Render | Renders the rain separately. |
| SetIndex | Sets the unique object id of this atmosphere. |
| SkyBox_Enable | Enables rendering of the skybox. |
| SkyBox_GetColor | Returns the color of the skybox. |
| SkyBox_GetRotation | Returns the current rotation of the skybox. |
| SkyBox_GetScale | Returns the current scale of the skybox. |
| SkyBox_GetTexture | Returns the textures of the skybox. |
| SkyBox_GetVerticalOffset | Returns the distance the skybox is offset vertically. |
| SkyBox_IsEnabled | Returns whether the skybox is enabled. |
| SkyBox_Render | Renders the skybox separately. |
| SkyBox_SetColor | Sets the color of the skybox. |
| SkyBox_SetDepthWrite | Sets if the skybox should be written to the depth buffer. |
| SkyBox_SetRotation | Sets the rotation angles of the skybox. |
| SkyBox_SetScale | Sets the scale of the skybox. |
| SkyBox_SetTexture | Sets the textures on the faces of the skybox. |
| SkyBox_SetVerticalOffset | Sets the vertical offset of the skybox. |
| SkySphere_Enable | Enables rendering of the skysphere. |
| SkySphere_GetColor | Returns the color of the skybox. |
| SkySphere_GetPolyCount | Returns the polygon count of the skysphere. |
| SkySphere_GetRotation | Returns the current rotation of the skysphere. |
| SkySphere_GetScale | Returns the current scale of the skysphere. |
| SkySphere_GetTexture | Returns the texture of the skysphere. |
| SkySphere_GetVerticalOffset | Returns the distance the skysphere is offset vertically. |
| SkySphere_IsEnabled | Returns whether the skybox is enabled. |
| SkySphere_IsHemiSphere | Returns whether the skybox is a hemisphere. |
| SkySphere_Render | Renders the skysphere separately. |
| SkySphere_SetColor | Sets the color of the skysphere. |
| SkySphere_SetDepthWrite | Sets if the skysphere should be written to the depth buffer. |
| SkySphere_SetParameters | Sets specific parameters for the skysphere. |
| SkySphere_SetPolyCount | Sets the polygon count/precision of the skysphere. |
| SkySphere_SetRadius | Sets the radius measure of the skysphere. |
| SkySphere_SetRotation | Sets the rotation angles of the skysphere. |
| SkySphere_SetScale | Sets the scale of the skysphere. |
| SkySphere_SetTexture | Sets the texture of the skybox. |
| SkySphere_SetVerticalOffset | Sets the vertical offset of the skysphere. |
| Sun_Enable | Enables rendering effects of the sun. |
| Sun_SetBillboardSize | Sets the size of the sun billboard. |
| Sun_SetBlendingMode | Sets the blending mode of the sun. |
| Sun_SetColor | Sets the color of the sun. |
| Sun_SetPosition | Sets the position of the sun. |
| Sun_SetTexture | Sets the sun texture. |