math docs
Preparing search index...
color
color
clamp
Function clamp
clamp
(
out
:
color
.
Color
,
c
:
color
.
Color
)
:
color
.
Color
Clamp each channel of
c
to [0, 1] into
out
. Returns
out
.
Parameters
out
:
color
.
Color
c
:
color
.
Color
Returns
color
.
Color
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
math docs
Loading...
Clamp each channel of
cto [0, 1] intoout. Returnsout.