docs.unity3d.com
    Show / Hide Table of Contents

    Class CloudSettings

    Base class for custom Cloud Settings.

    Inheritance
    Object
    VolumeComponent
    CloudSettings
    CloudLayer
    Inherited Members
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.GetHashCode()
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023