Gradient.SetKeys

function SetKeys (colorKeys : GradientColorKey[], alphaKeys : GradientAlphaKey[]) : void

Parameters

NameDescription
colorKeys Color keys of the gradient (maximum 8 color keys).
alphaKeys Alpha keys of the gradient (maximum 8 alpha keys).

Description

Setup Gradient with an array of color keys and alpha keys.