docs.unity.cn
    Show / Hide Table of Contents

    Class WindSpeedParameter

    Wind speed parameter.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<WindParameter.WindParamaterValue>
    WindParameter
    WindSpeedParameter
    Inherited Members
    WindParameter.Interp(WindParameter.WindParamaterValue, WindParameter.WindParamaterValue, Single)
    WindParameter.GetHashCode()
    WindParameter.GetValue(HDCamera)
    VolumeParameter<WindParameter.WindParamaterValue>.m_Value
    VolumeParameter<WindParameter.WindParamaterValue>.Override(WindParameter.WindParamaterValue)
    VolumeParameter<WindParameter.WindParamaterValue>.SetValue(VolumeParameter)
    VolumeParameter<WindParameter.WindParamaterValue>.ToString()
    VolumeParameter<WindParameter.WindParamaterValue>.Equals(VolumeParameter<WindParameter.WindParamaterValue>)
    VolumeParameter<WindParameter.WindParamaterValue>.Equals(Object)
    VolumeParameter<WindParameter.WindParamaterValue>.Clone()
    VolumeParameter<WindParameter.WindParamaterValue>.value
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    VolumeParameter.overrideState
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    public sealed class WindSpeedParameter : WindParameter, ICloneable, IEquatable<VolumeParameter<WindParameter.WindParamaterValue>>

    Constructors

    WindSpeedParameter(Single, WindParameter.WindOverrideMode, Boolean)

    Wind speed volume parameter constructor.

    Declaration
    public WindSpeedParameter(float value = 100F, WindParameter.WindOverrideMode mode = WindParameter.WindOverrideMode.Global, bool overrideState = false)
    Parameters
    Type Name Description
    Single value

    Sky Ambient Mode parameter.

    WindParameter.WindOverrideMode mode

    Initial override mode.

    Boolean overrideState

    Initial override value.

    Methods

    GetGlobalValue(HDCamera)

    Returns the value stored in the volume.

    Declaration
    protected override float GetGlobalValue(HDCamera camera)
    Parameters
    Type Name Description
    HDCamera camera

    The camera containing the volume stack to evaluate

    Returns
    Type Description
    Single

    The value for this parameter.

    Overrides
    WindParameter.GetGlobalValue(HDCamera)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 25 August 2023