Class CloudSettings
Base class for custom Cloud Settings.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public abstract class CloudSettings : VolumeComponent
Methods
GetCloudRendererType()
Returns the class type of the CloudRenderer associated with this Cloud Settings.
Declaration
public abstract Type GetCloudRendererType()
Returns
Type | Description |
---|---|
Type | The class type of the CloudRenderer associated with this Cloud Settings. |
GetHashCode(Camera)
Returns the hash code of the cloud parameters.
Declaration
public virtual int GetHashCode(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The camera we want to use to compute the hash of the cloud. |
Returns
Type | Description |
---|---|
Int32 | The hash code of the cloud parameters. |
GetUniqueID(Type)
Returns the cloud type unique ID. Use this to override the cloudType in the Visual Environment volume component.
Declaration
public static int GetUniqueID(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of clouds. |
Returns
Type | Description |
---|---|
Int32 | The unique ID for the requested cloud type. |
GetUniqueID<T>()
Returns the cloud type unique ID. Use this to override the cloudType in the Visual Environment volume component.
Declaration
public static int GetUniqueID<T>()
Returns
Type | Description |
---|---|
Int32 | The unique ID for the requested cloud type. |
Type Parameters
Name | Description |
---|---|
T | Type of clouds. |