docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CloudLayer

    Cloud Layer Volume Component. This component setups the Cloud Layer for rendering.

    Inheritance
    object
    Object
    ScriptableObject
    VolumeComponent
    CloudSettings
    CloudLayer
    Implements
    IApplyRevertPropertyContextMenuItemProvider
    Inherited Members
    CloudSettings.GetHashCode(Camera)
    CloudSettings.GetUniqueID<T>()
    CloudSettings.GetUniqueID(Type)
    VolumeComponent.active
    VolumeComponent.displayName
    VolumeComponent.parameters
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, float)
    VolumeComponent.SetAllOverridesTo(bool)
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.TryGetRevertMethodForFieldName(SerializedProperty, out Action<SerializedProperty>)
    VolumeComponent.GetSourceTerm()
    VolumeComponent.TryGetApplyMethodForFieldName(SerializedProperty, out Action<SerializedProperty>)
    VolumeComponent.GetSourceName(Component)
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [VolumeComponentMenu("Sky/Cloud Layer")]
    [SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
    [CloudUniqueID(1)]
    public class CloudLayer : CloudSettings, IApplyRevertPropertyContextMenuItemProvider

    Fields

    layerA

    Layer A.

    Declaration
    public CloudLayer.CloudMap layerA
    Field Value
    Type Description
    CloudLayer.CloudMap

    layerB

    Layer B.

    Declaration
    public CloudLayer.CloudMap layerB
    Field Value
    Type Description
    CloudLayer.CloudMap

    layers

    Choose the number of cloud layers.

    Declaration
    public VolumeParameter<CloudMapMode> layers
    Field Value
    Type Description
    VolumeParameter<CloudMapMode>

    opacity

    Controls the global opacity of the cloud layer.

    Declaration
    [Tooltip("Controls the global opacity of the cloud layer.")]
    public ClampedFloatParameter opacity
    Field Value
    Type Description
    ClampedFloatParameter

    resolution

    Choose the resolution of the baked cloud texture.

    Declaration
    [Tooltip("Specifies the resolution of the texture HDRP uses to represent the clouds.")]
    public EnumParameter<CloudResolution> resolution
    Field Value
    Type Description
    EnumParameter<CloudResolution>

    shadowMultiplier

    Controls the opacity of the cloud shadows.

    Declaration
    [Header("Cloud Shadows")]
    [Tooltip("Controls the opacity of the cloud shadows.")]
    public MinFloatParameter shadowMultiplier
    Field Value
    Type Description
    MinFloatParameter

    shadowResolution

    Choose the resolution of the texture for the cloud shadows.

    Declaration
    [Tooltip("Specifies the resolution of the texture HDRP uses to represent the cloud shadows.")]
    public EnumParameter<CloudShadowsResolution> shadowResolution
    Field Value
    Type Description
    EnumParameter<CloudShadowsResolution>

    shadowSize

    Specifies the size of the projected shadows.

    Declaration
    [Tooltip("Specifies the size of the projected shadows.")]
    public MinFloatParameter shadowSize
    Field Value
    Type Description
    MinFloatParameter

    shadowTint

    Controls the tint of the cloud shadows.

    Declaration
    [Tooltip("Controls the tint of the cloud shadows.")]
    public ColorParameter shadowTint
    Field Value
    Type Description
    ColorParameter

    upperHemisphereOnly

    Enable to cover only the upper part of the sky.

    Declaration
    [Tooltip("Check this box if the cloud layer covers only the upper part of the sky.")]
    public BoolParameter upperHemisphereOnly
    Field Value
    Type Description
    BoolParameter

    Methods

    GetCloudRendererType()

    Returns CloudLayerRenderer type.

    Declaration
    public override Type GetCloudRendererType()
    Returns
    Type Description
    Type

    CloudLayerRenderer type.

    Overrides
    CloudSettings.GetCloudRendererType()

    GetHashCode()

    Returns the hash code of the CloudLayer parameters.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hash code of the CloudLayer parameters.

    Overrides
    UnityEngine.Rendering.VolumeComponent.GetHashCode()

    Implements

    IApplyRevertPropertyContextMenuItemProvider
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)