GitHub
Quarks VFX
Preparing search index...
The search index is not available
Documentation
Documentation
quarks.core
Gradient
Class Gradient
Implements
FunctionColorGenerator
Index
Constructors
constructor
Properties
alpha
color
type
Methods
clone
gen
Color
start
Gen
toJSON
fromJSON
Constructors
constructor
new
Gradient
(
color
?:
[
Vector3
,
number
]
[]
,
alpha
?:
[
number
,
number
]
[]
)
:
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
genColor
(
memory
:
GeneratorMemory
,
color
:
Vector4
,
t
:
number
)
:
Vector4
Parameters
memory
:
GeneratorMemory
color
:
Vector4
t
:
number
Returns
Vector4
start
Gen
startGen
(
memory
:
GeneratorMemory
)
:
void
Parameters
memory
:
GeneratorMemory
Returns
void
toJSON
toJSON
()
:
FunctionJSON
Returns
FunctionJSON
Static
fromJSON
fromJSON
(
json
:
FunctionJSON
)
:
Gradient
Parameters
json
:
FunctionJSON
Returns
Gradient
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
alpha
color
type
Methods
clone
gen
Color
start
Gen
toJSON
fromJSON
GitHub
Quarks VFX
Documentation
Loading...