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