nanos world API Reference Unofficial documentation
Function Client Moderate

Particle:SetParameterMaterialFromCanvas

This will create a Material and set this Canvas as it's parameter internally, then set the Material into the Particle parameter

Syntax

Lua
my_particle:SetParameterMaterialFromCanvas(parameter, value)

Parameters

Name Type Default Description
parameter string The parameter name
value Canvas The Canvas value