Part of StarfallEx namespace
๐ External
material.getTexture(path, texture)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Gets a texture from a material
Parameters
| Name | Type | Description |
|---|---|---|
path | string | The path of the material (don't include .vmt in the path) |
texture | string | The texture key to get |
Returns
| Type | Description |
|---|---|
string | The texture's name or nil if texture key isn't found |
Examples
No examples available.
Used In
No usages found in the codebase.