Dynamic Material

🛠 Constructor

WGui.CreateDynamicMaterial(Material)
Type
Parameter
Description

Material

🦠 Functions

SetVectorParameterValue

Sets a vector parameter to the material

DynamicMaterial:SetVectorParameterValue(ParameterName, Value)
Type
Parameter
Description

ParameterName

Value

SetScalarParameterValue

Sets a scalar parameter to the material

DynamicMaterial:SetScalarParameterValue(ParameterName, Value)
Type
Parameter
Description

ParameterName

Value

SetVector4ParameterValue

Sets a vector4 parameter to the material

DynamicMaterial:SetVector4ParameterValue(ParameterName, Value)
Type
Parameter
Description

ParameterName

Value

SetTextureParameterValue

Sets a texture parameter to the material

DynamicMaterial:SetTextureParameterValue(ParameterName, Value)
Type
Parameter
Description

ParameterName

Value

URL / Special Path / Raw Asset Path

Destroy

Destroys this material

DynamicMaterial:Destroy()

Last updated