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

SFEX.material.getName

C๐Ÿท๏ธ Material

Part of StarfallEx namespace

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

Description

Returns a material's engine name

Parameters

NameTypeDescription
pathstringThe path of the material (don't include .vmt in the path)

Returns

TypeDescription
stringThe name of a material. If this material is user created, add ! to the beginning of this to use it with entity.setMaterial

Examples

No examples available.

Used In

No usages found in the codebase.