Class WindOrientationParameter
Wind Orientation parameter.
Inheritance
VolumeParameter
WindOrientationParameter
Inherited Members
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>.Clone()
VolumeParameter.k_DebuggerDisplay
VolumeParameter.overrideState
VolumeParameter.GetValue<T>()
VolumeParameter.Release()
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
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
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] |