engineGetVisibleTextureNames | Multi Theft Auto: Wiki Skip to content

engineGetVisibleTextureNames

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function returns a list of the world textures which are being used to draw the current scene.

Syntax

engineGetVisibleTextureNames ( )

Code Examples

client

This example will output the names of all the visible textures that start with 'a'

for _,name in ipairs( engineGetVisibleTextureNames ( "a*" ) ) do
outputConsole( name )
end

See Also

Engine Functions
Engine Elements