Skip to content

Commit 0b5f822

Browse files
Fix HDRP warning (#6396)
1 parent 7054ba7 commit 0b5f822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

com.unity.render-pipelines.high-definition/Runtime/Sky/VisualEnvironment.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public override int GetHashCode()
180180
/// <summary>Returns interpolated value from the visual environment.</summary>
181181
/// <param name="camera">The camera containing the volume stack to evaluate</param>
182182
/// <returns>The value for this parameter.</returns>
183-
public float GetValue(HDCamera camera)
183+
public virtual float GetValue(HDCamera camera)
184184
{
185185
if (value.mode == WindOverrideMode.Custom)
186186
return value.customValue;
@@ -239,7 +239,7 @@ public override void Interp(WindParamaterValue from, WindParamaterValue to, floa
239239
/// <summary>Returns interpolated value from the visual environment.</summary>
240240
/// <param name="camera">The camera containing the volume stack to evaluate</param>
241241
/// <returns>The value for this parameter.</returns>
242-
public float GetValue(HDCamera camera)
242+
public override float GetValue(HDCamera camera)
243243
{
244244
// Multiply mode is not supported for wind orientation
245245
if (value.mode == WindOverrideMode.Multiply)

0 commit comments

Comments
 (0)