API
Docs
Samples
Pricing
Preparing search index...
The search index is not available
Needle Engine
Needle Engine
Built-in Components
MinMaxGradient
Class MinMaxGradient
Index
Constructors
constructor
Properties
mode
Methods
between
Two
Colors
constant
evaluate
between
Two
Colors
constant
Constructors
constructor
new
Min
Max
Gradient
(
)
:
MinMaxGradient
Returns
MinMaxGradient
Properties
mode
mode
:
|
ParticleSystemGradientMode
|
"Color"
|
"Gradient"
|
"TwoColors"
|
"TwoGradients"
|
"RandomColor"
= ParticleSystemGradientMode.Color
The mode of the gradient, which can be Color, Gradient, TwoColors or TwoGradients.
Methods
between
Two
Colors
between
Two
Colors
(
color1
,
color2
)
:
MinMaxGradient
Parameters
color1
:
Color
|
RGBAColor
color2
:
Color
|
RGBAColor
Returns
MinMaxGradient
constant
constant
(
color
)
:
MinMaxGradient
Parameters
color
:
Color
|
RGBAColor
Returns
MinMaxGradient
evaluate
evaluate
(
t01
,
lerpFactor
?
)
:
Color
|
RGBAColor
Parameters
t01
:
number
Optional
lerpFactor
:
number
Returns
Color
|
RGBAColor
Static
between
Two
Colors
between
Two
Colors
(
color1
,
color2
)
:
MinMaxGradient
Parameters
color1
:
Color
|
RGBAColor
color2
:
Color
|
RGBAColor
Returns
MinMaxGradient
Static
constant
constant
(
color
)
:
MinMaxGradient
Parameters
color
:
Color
|
RGBAColor
Returns
MinMaxGradient
Settings
Member Visibility
Protected
Inherited
Deprecated
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
mode
Methods
between
Two
Colors
constant
evaluate
between
Two
Colors
constant
API
Docs
Samples
Pricing
Needle Engine
Loading...
The mode of the gradient, which can be Color, Gradient, TwoColors or TwoGradients.