Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Percent(Color, float)

Construct a stop expressed as a percentage of the gradient extent.
Read time 1 minuteLast updated 13 days ago

Definition

public static BackgroundGradientStop Percent(Color color, float fraction)

Parameters

color


fraction

Returns

Type

Description

BackgroundGradientStop