Preparing search index...
The search index is not available
API
API
render2d
color
lum
Function lum
lum
(
color
,
backgroundLum
)
:
number
Calculate luminance. It will include alpha.
Parameters
color
:
string
backgroundLum
:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
Calculate luminance. It will include alpha.