docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WindOrientationParameter

    Wind Orientation parameter.

    Inheritance
    object
    VolumeParameter
    VolumeParameter<WindParameter.WindParamaterValue>
    WindParameter
    WindOrientationParameter
    Implements
    ICloneable
    IEquatable<VolumeParameter<WindParameter.WindParamaterValue>>
    Inherited Members
    WindParameter.GetHashCode()
    VolumeParameter<WindParameter.WindParamaterValue>.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.k_DebuggerDisplay
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    public sealed class WindOrientationParameter : WindParameter, ICloneable, IEquatable<VolumeParameter<WindParameter.WindParamaterValue>>

    Constructors

    WindOrientationParameter(float, WindOverrideMode, bool)

    Wind orientation volume parameter constructor.

    Declaration
    public WindOrientationParameter(float value = 0, WindParameter.WindOverrideMode mode = WindOverrideMode.Global, bool overrideState = false)
    Parameters
    Type Name Description
    float value

    Sky Ambient Mode parameter.

    WindParameter.WindOverrideMode mode

    Initial override mode.

    bool 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
    float

    The value for this parameter.

    Overrides
    WindParameter.GetGlobalValue(HDCamera)

    GetValue(HDCamera)

    Returns interpolated value from the visual environment.

    Declaration
    public override float GetValue(HDCamera camera)
    Parameters
    Type Name Description
    HDCamera camera

    The camera containing the volume stack to evaluate

    Returns
    Type Description
    float

    The value for this parameter.

    Overrides
    WindParameter.GetValue(HDCamera)

    Interp(WindParamaterValue, WindParamaterValue, float)

    Interpolates between two values.

    Declaration
    public override void Interp(WindParameter.WindParamaterValue from, WindParameter.WindParamaterValue to, float t)
    Parameters
    Type Name Description
    WindParameter.WindParamaterValue from

    The start value

    WindParameter.WindParamaterValue to

    The end value

    float t

    The interpolation factor in range [0,1]

    Overrides
    WindParameter.Interp(WindParameter.WindParamaterValue, WindParameter.WindParamaterValue, float)

    Implements

    ICloneable
    IEquatable<T>
    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)