WeatherMakerSkyProfileScript Class |
Namespace: DigitalRuby.WeatherMaker
The WeatherMakerSkyProfileScript type exposes the following members.
| Name | Description | |
|---|---|---|
| WeatherMakerSkyProfileScript | Initializes a new instance of the WeatherMakerSkyProfileScript class |
| Name | Description | |
|---|---|---|
| hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? | |
| name | The name of the object. |
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetInstanceID | Returns the instance id of the object. | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| SetDirty | Obsolete. (Inherited from ScriptableObject.) | |
| ToString | Returns the name of the GameObject. | |
| UpdateSkyPlane |
Perform updates to the sky plane based on profile settings
| |
| UpdateSkySphere |
Perform updates to the sky sphere based on profile settings
|
| Name | Description | |
|---|---|---|
| AtmosphereProfile | Atmosphere profile | |
| CheckForEclipse | Allows eclipses - beware Unity bug that causes raycast to be very expensive. If you see CPU spike, disable. | |
| DawnDuskTexture | The dawn / dusk texture (ignored for procedural sky mode). | |
| DayTexture | The daytime texture (ignored for procedural sky mode). | |
| DitherLevel | Dither level | |
| LightWaveLengths | Light wave lengths (RGB, Tint Range) | |
| NightDuskMultiplier | How much color in the sky reduces the night sky. The max rgb of the sky is multiplied by this value (with a min of 1.0). (1.0 - this value) * night sky is final night sky value. | |
| NightIntensity | Intensity of night sky. Pixels that don't meet the NightVisibilityThreshold will still be invisible. | |
| NightPower | Night power. The night multiplier is raised by this power. Set to less than 1.0 to cause the night sky and starts to come in faster. | |
| NightTexture | The night time texture | |
| NightTwinkleMinimum | The minimum of the max rgb component for the night pixel to twinkle | |
| NightTwinkleRandomness | The amount of randomness in the night sky twinkle | |
| NightTwinkleSpeed | How fast the twinkle pulsates | |
| NightTwinkleVariance | The variance of the night twinkle. The higher the value, the more variance. | |
| NightVisibilityThreshold | Night pixels must have an R, G or B value greater than or equal to this to be visible. Raise this value if you want to hide dimmer elements of your night texture or there is a lot of light pollution, i.e. a city. | |
| RotateAxis | Allow rotating on an axis with day/night cycle. Set to all 0 for no rotation. Requires procedural sky mode (non-textured). | |
| SkyCameraHeightFadeMultiplier | Sky camera height fade multiplier, camera y value is multiplied by this and fade is reduced by the result. This lets you start the sky fade only as the camera moves higher into the sky. | |
| SkyDepthFadeStart | Start of sky depth fade. Set to 1.0 for no fade. 0.5 to start fade about halfway to far plane, etc. | |
| SkyExposure | Sky sphere exposure, decrease/increase brightness | |
| SkyGradient | Sky gradient. Useful for extra tint of sky and clouds as sun nears the horizon. Center of gradient is sun right at horizon. | |
| SkyInnerRadius | Sky inner radius | |
| SkyMode | The sky mode. 'Textured' uses a texture for day, dawn/dusk and night. 'Procedural textured' combines a procedural sky with the day and dawn/dusk textures using alpha, and uses the night texture as is. 'Procedural' uses the night texture as is and does everything else procedurally. | |
| SkyOuterRadius | Sky outer radius | |
| SkyTintColor | Sky tint color | |
| YOffsetMultiplier | Adjust the y value of the ray for the sky. |
| Name | Description | |
|---|---|---|
| CachedName |
Get cached name
(Defined by WeatherMakerObjectExtensions.) | |
| SetCachedName |
Put name in the cache
(Defined by WeatherMakerObjectExtensions.) |