Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.material.getTexture

C๐Ÿท๏ธ Material

Part of StarfallEx namespace

๐Ÿ”— External
material.getTexture(path, texture)
View on GitHub|lua/starfall/libs_cl/material.lua:229
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Gets a texture from a material

Parameters

NameTypeDescription
pathstringThe path of the material (don't include .vmt in the path)
texturestringThe texture key to get

Returns

TypeDescription
stringThe texture's name or nil if texture key isn't found

Examples

No examples available.

Used In

No usages found in the codebase.