Preparing search index...
The search index is not available
API
API
Gradient
Class Gradient
Implements
FunctionColorGenerator
Index
Constructors
constructor
Properties
alpha
color
type
Methods
clone
gen
Color
toJSON
fromJSON
Constructors
constructor
new
Gradient
(
color
?
,
alpha
?
)
:
Gradient
Parameters
color
:
[
Vector3
,
number
]
[]
= ...
alpha
:
[
number
,
number
]
[]
= ...
Returns
Gradient
Properties
alpha
alpha
:
ContinuousLinearFunction
<
number
>
color
color
:
ContinuousLinearFunction
<
Vector3
>
type
type
:
"function"
Methods
clone
clone
(
)
:
FunctionColorGenerator
Returns
FunctionColorGenerator
gen
Color
gen
Color
(
color
,
t
)
:
Vector4
Parameters
color
:
Vector4
t
:
number
Returns
Vector4
toJSON
toJSON
(
)
:
FunctionJSON
Returns
FunctionJSON
Static
fromJSON
fromJSON
(
json
)
:
Gradient
Parameters
json
:
FunctionJSON
Returns
Gradient
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
alpha
color
type
clone
gen
Color
toJSON
fromJSON
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...