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()
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
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. |