Class WindSpeedParameter
Wind speed parameter.
Inheritance
VolumeParameter
WindSpeedParameter
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 WindSpeedParameter : WindParameter, ICloneable, IEquatable<VolumeParameter<WindParameter.WindParamaterValue>>
Constructors
WindSpeedParameter(float, WindOverrideMode, bool)
Wind speed volume parameter constructor.
Declaration
public WindSpeedParameter(float value = 100, 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. |