Class CloudSettings
Base class for custom Cloud Settings.
Implements
Inherited Members
VolumeComponent.active
VolumeComponent.displayName
VolumeComponent.parameters
VolumeComponent.OnEnable()
VolumeComponent.OnDisable()
VolumeComponent.GetHashCode()
VolumeComponent.AnyPropertiesIsOverridden()
VolumeComponent.OnDestroy()
VolumeComponent.Release()
VolumeComponent.GetSourceTerm()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public abstract class CloudSettings : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider
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 |
---|---|
int | 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 |
---|---|
int | 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 |
---|---|
int | The unique ID for the requested cloud type. |
Type Parameters
Name | Description |
---|---|
T | Type of clouds. |