StandardShaderUtility.AutofillFourPointGradient Method

Definition

Given a source color produces a visually pleasing" gradient by shifting the source color in HSV space.

public static void AutofillFourPointGradient (UnityEngine.Color source, out UnityEngine.Color topLeft, out UnityEngine.Color topRight, out UnityEngine.Color bottomLeft, out UnityEngine.Color bottomRight, out UnityEngine.Color stroke);
static member AutofillFourPointGradient : UnityEngine.Color * Color * Color * Color * Color * Color -> unit
Public Shared Sub AutofillFourPointGradient (source As Color, ByRef topLeft As Color, ByRef topRight As Color, ByRef bottomLeft As Color, ByRef bottomRight As Color, ByRef stroke As Color)

Parameters

source
UnityEngine.Color
topLeft
UnityEngine.Color
topRight
UnityEngine.Color
bottomLeft
UnityEngine.Color
bottomRight
UnityEngine.Color
stroke
UnityEngine.Color

Applies to