math docs
Preparing search index...
color
color
setScalar
Function setScalar
setScalar
(
out
:
color
.
Color
,
s
:
number
)
:
color
.
Color
Set all three channels of
out
to the same linear value
s
(a gray). Returns
out
.
Parameters
out
:
color
.
Color
s
:
number
Returns
color
.
Color
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
math docs
Loading...
Set all three channels of
outto the same linear values(a gray). Returnsout.