GPU Particles

self:get_blend_mode

Client

Retrieves the blend mode used to draw particles

Syntax

local mode = self:get_blend_mode()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
particle.gpu.blend_modemodeCurrent blend mode

Examples

Get the blend mode
local entity = particle.gpu.create()

core.engine.print("info", entity:get_blend_mode())

On this page