Trail

self:set_blend_mode

Client

Sets the blend mode used to draw the trail

Syntax

local status = self:set_blend_mode(
    mode
)

Parameters

TypeNameDescription
particle.trail.blend_modemodeBlend mode to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Draw a glowing trail
local entity = particle.trail.create()

entity:set_blend_mode(particle.trail.blend_mode.ADD)

On this page