Progetto H — API Reference API & Scripting Documentation
Function Client Moderate

Particle:SetParameterMaterialFromWebUI

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

Syntax

Lua
my_particle:SetParameterMaterialFromWebUI(parameter, value)

Parameters

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