Function
blend
(blend: BlendMode): BlendCompSets the blend mode of a Game Object.
// light
add([
sprite("light"),
blend(BlendMode.Add),
]);returns The blend comp.
since v4000.0
group Components
subgroup Rendering
Sets the blend mode of a Game Object.
// light
add([
sprite("light"),
blend(BlendMode.Add),
]);returns The blend comp.
since v4000.0
group Components
subgroup Rendering
Start
Assets
Game Obj
Components
Input
Events
Info
Math
Rendering
Draw
Plugins
Miscalenous