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

SFEX.material.getWidth

C๐Ÿท๏ธ Material

Part of StarfallEx namespace

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

Description

Returns the width of the member texture set for $basetexture of a material

Parameters

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

Returns

TypeDescription
numberThe basetexture's width

Examples

No examples available.

Used In

No usages found in the codebase.