Part of StarfallEx namespace
๐ External
material.createFromImage(path, params)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Creates a .jpg or .png material from file Can't be modified
Parameters
| Name | Type | Description |
|---|---|---|
path | string | The path to the image file, must be a jpg or png image |
params | string | The shader parameters to apply to the material. See https://wiki.facepunch.com/gmod/Material_Parameters |
Returns
| Type | Description |
|---|---|
Material | The Material created. |
Examples
No examples available.
Used In
No usages found in the codebase.