WeatherMakerCloudProfileScript Class |
Namespace: DigitalRuby.WeatherMaker
The WeatherMakerCloudProfileScript type exposes the following members.
| Name | Description | |
|---|---|---|
| WeatherMakerCloudProfileScript | Initializes a new instance of the WeatherMakerCloudProfileScript class |
| Name | Description | |
|---|---|---|
| AtmosphereProfile |
Atmosphere profile
| |
| AuroraProfile |
Aurora profile
| |
| CloudCoverTotal |
Sum of cloud cover, max of 1
| |
| CloudDensityTotal |
Sum of cloud density, max of 1
| |
| CloudDirectionalLightDirectBlock |
Directional light block
| |
| CloudGlobalShadow |
Cloud global shadow value
| |
| CloudLightAbsorptionTotal |
Sum of cloud light absorption, max of 1
| |
| CloudsEnabled |
Checks whether clouds are enabled
| |
| hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? | |
| name | The name of the object. |
| Name | Description | |
|---|---|---|
| Clone |
Deep clone the entire profile
| |
| CopyStateTo |
Copy profile state to another profile
| |
| EnsureNonNullLayers |
Ensure all layers have profiles
| |
| 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.) | |
| SetShaderCloudParameters |
Set shader cloud values
| |
| ToString | Returns the name of the GameObject. | |
| Update |
Update
| |
| UpdateWeatherMap |
Update the weather map
|
| Name | Description | |
|---|---|---|
| CloudHeight | Cloud height. | |
| CloudHeightTop | Cloud height top - clouds extend from CloudHeight to this value. | |
| CloudLayer1 | The first, and lowest cloud layer, null for none | |
| CloudLayer2 | The second, and second lowest cloud layer, null for none | |
| CloudLayer3 | The third, and third lowest cloud layer, null for none | |
| CloudLayer4 | The fourth, and highest cloud layer, null for none | |
| CloudLayerVolumetric1 | Allow a single layer of volumetric clouds. In the future, more volumetric layers might be supported | |
| CloudLightStrength | How much clouds affect directional light intensity, lower values ensure no reduction. Ignored for volumetric clouds. | |
| CloudPlanetRadius | Planet radius for sphere cloud mapping. 1200000.0 seems to work well. | |
| DirectionalLightIntensityMultiplier | How much to multiply directional light intensities by when clouds are showing. Ignored for volumetric clouds. | |
| DirectionalLightScatterMultiplier | How much the clouds reduce directional light scattering. Affects fog and other volumetric effects. | |
| WeatherMapCloudCoverageAdder | Cloud coverage adder. Higher values create more cloud coverage. | |
| WeatherMapCloudCoveragePower | Cloud coverage power. Higher values create more firm cloud coverage edges. | |
| WeatherMapCloudCoverageRotation | Rotation of cloud coverage. Rotates coverage map around center of weather map. | |
| WeatherMapCloudCoverageScale | Scale of cloud coverage. Higher values produce smaller clouds. | |
| WeatherMapCloudCoverageVelocity | Weather map cloud coverage velocity, xy units per second, z change per second | |
| WeatherMapCloudTypeAdder | Cloud type adder. Higher values create more cloud type. | |
| WeatherMapCloudTypePower | Cloud type power. Higher values create more firm cloud type edges. | |
| WeatherMapCloudTypeRotation | Rotation of cloud type. Rotates cloud type map around center of weather map. | |
| WeatherMapCloudTypeScale | Scale of cloud types. Higher values produce more jagged clouds. | |
| WeatherMapCloudTypeVelocity | Weather map cloud type velocity, xy units per second, z change per second | |
| WeatherMapRenderTextureMask | Set a custom weather map texture mask, this will mask out all areas of the weather map based on lower alpha values. | |
| WeatherMapRenderTextureMaskOffset | Offset of weather map mask (0 - 1). Velocity is applied automatically but you can set manually as well. | |
| WeatherMapRenderTextureMaskOffsetClamp | Clamp for weather map mask offset to ensure that it does not go too far out of bounds. | |
| WeatherMapRenderTextureMaskVelocity | Velocity of weather map mask in uv coordinates (0 - 1) | |
| WeatherMapRenderTextureOverride | Set a custom weather map texture, bypassing the auto-generated weather map | |
| WeatherMapScale | Weather map scale, x,y = noise generation multiplier, z = world scale. |
| Name | Description | |
|---|---|---|
| CachedName |
Get cached name
(Defined by WeatherMakerObjectExtensions.) | |
| SetCachedName |
Put name in the cache
(Defined by WeatherMakerObjectExtensions.) |