GradientStop
public readonly struct GradientStopA color stop at an explicit location within a gradient.
Swift Charts equivalent: Gradient.Stop(color: .red, location: 0.5).
Fields
Section titled “Fields”
public readonly Color ColorNo description is available for this member.
Returns
UnityEngine.Color — No return description is available.
Location
Section titled “Location”public readonly float LocationNo description is available for this member.
Returns
System.Single — No return description is available.
Constructors
Section titled “Constructors”
GradientStop(Color, float)
Section titled “GradientStop(Color, float)”public GradientStop(Color color, float location)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
color |
UnityEngine.Color | |
location |
System.Single |