Part of StarfallEx namespace
๐ External
material.load(path)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Loads a .vmt material or existing material. Throws an error if the material fails to load Existing created materials can be loaded with ! prepended to the name Can't be modified
Parameters
| Name | Type | Description |
|---|---|---|
path | string | The path of the material (don't include .vmt in the path) |
Returns
| Type | Description |
|---|---|
Material | The material object. Can't be modified. |
Examples
No examples available.
Used In
No usages found in the codebase.