Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Linear(float, params BackgroundGradientStop[])

Construct a linear gradient from an angle (radians) and a stop list.
Read time 1 minuteLast updated 7 days ago

Definition

Linear(float, BackgroundGradientStop[])

public static BackgroundGradient Linear(float angle, params BackgroundGradientStop[] stops)

Parameters

Returns

Type

Description

BackgroundGradient