Class WindOrientationParameter
Wind Orientation parameter.
Inheritance
WindOrientationParameter
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public sealed class WindOrientationParameter : WindParameter, IEquatable<VolumeParameter<WindParameter.WindParamaterValue>>
Constructors
WindOrientationParameter(Single, WindParameter.WindOverrideMode, Boolean)
Wind orientation volume parameter constructor.
Declaration
public WindOrientationParameter(float value = 0F, 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. |