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