Class WindSpeedParameter
Wind speed parameter.
Inheritance
WindSpeedParameter
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public sealed class WindSpeedParameter : WindParameter, 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. |