Home
Manual
Reference
Scripting
Scripting Reference
Gradient
.SetKeys
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
Gradient
All Members
Constructors
Gradient
Functions
Evaluate
SetKeys
function
SetKeys (colorKeys :
GradientColorKey
[], alphaKeys :
GradientAlphaKey
[]) :
void
Parameters
Name
Description
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.