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

Particle:SetParameterMaterialFromTexture

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

Syntax

Lua
my_particle:SetParameterMaterialFromTexture(parameter, value)

Parameters

Name Type Default Description
parameter string The parameter name
value ImagePath The Texture value