SetTextureFrameIndex()

From Valve Developer Community
Revision as of 12:26, 13 September 2024 by SirYodaJedi (talk | contribs)
Jump to navigation Jump to search

SetTextureFrameIndex is a C++ function available for the CBaseEntity class in all Source Source games. It takes one input, an integer. It sets the texture frame of all materials with the ToggleTexture to the specified integer.

Confirm:Does this work on models and sprites?

In most games, only env_texturetoggle uses this function.