WeatherMakerCelestialObjectScript Fields |
The WeatherMakerCelestialObjectScript type exposes the following members.
Name | Description | |
---|---|---|
FlareCloudProbeTarget | Game object to use as lens flare cloud probe target. This object should have a cloud probe script on it. | |
HorizonMultiplier | Horizon multiplier (x = multiplier, y = max intensity, z = power reducer). Increases light intensity in certain effects like clouds as object reaches horizon. Great for brighter sunsets. | |
IsSun | Whether this is a sun (false if moon) | |
LensFlareBlocker | Used to block lens flare if clouds are over the sun. Just needs to be a sphere collider. | |
LightBaseIntensity | The intensity of the light of the object at default (full) intensity | |
LightBaseShadowStrength | The shadow strength of the light of the object at default (full) shadow intensity | |
LightColor | Light color | |
LightMode | Light mode. If set to None, you must set the light intensity yourself. | |
LightMultiplier | Light multiplier | |
LightPower | Light power, controls how intense the light lights up the clouds, etc. near the object. Lower values reduce the radius and increase the intensity. | |
MinimumCloudCoverToBlockLensFlare | Minimum cloud cover to block the lens flare. | |
OrbitType | The orbit type. Only from Earth orbit is currently supported. | |
RotateYDegrees | Rotation about y axis - changes how the celestial body orbits over the scene | |
Scale | The scale of the object. For the sun, this is shader specific. For moons, this is a percentage of camera far plane. | |
ShaftMultiplier | Shafts multiplier. Brightens up cloud or fog shafts. Useful for moons. | |
TintColor | Tint color of the object. | |
TintIntensity | Tint intensity |