CTSWeatherManager Class

Summary

A terrain weather and season controller for CTS. This manager broadcasts weather updates to weather controllers which then apply them directly to the material, but not the profile. This way you can effect change, without wrecking profile settings.
Namespace
CTS
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["CTSWeatherManager"] class Type type-node

Syntax

[Serializable]
public class CTSWeatherManager : MonoBehaviour

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
AutumnTint Color
Autumn tint
MaxRainSmoothness float
The maximum smoothness value per texture to be set if the rain power changes. Range 0f - 30f. The actual smoothness is varied between the original texture smoothness and this maximum scaled by the rain power.
RainPower float
Rain power in range 0 No Rain .. 1 - Full Rain
Season float
The season in the range 0 .. 3.9999f Controls the way the tints are applied to the landscape 0 = winter, 1 = spring, 2 = summer, 3 = autumn
SnowMinHeight float
Minimum snow height
SnowPower float
Snow power - in range 0 .. 1
SpringTint Color
Spring tint
SummerTint Color
Summer tint
WinterTint Color
Winter tint