SetTextureFrameIndex(): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{code|SetTextureFrameIndex}} is a C++ function available for CBaseEntity in all {{Source|4}} games. It sets the texture frame of all materials with the List Of Material...")
 
mNo edit summary
Line 1: Line 1:
{{code|SetTextureFrameIndex}} is a C++ function available for [[CBaseEntity]] in all {{Source|4}} games. It sets the texture frame of all materials with the [[List Of Material Proxies#Entity integration|ToggleTexture]] to the specified integer.
{{code|SetTextureFrameIndex}} is a C++ function available for the [[CBaseEntity]] class in all {{Source|4}} games. It sets the texture frame of all materials with the [[List Of Material Proxies#Entity integration|ToggleTexture]] to the specified integer.
{{confirm|Does this work on models and sprites?}}
{{confirm|Does this work on models and sprites?}}


[[Category:Programming]]
[[Category:Programming]]

Revision as of 12:21, 13 September 2024

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

Confirm:Does this work on models and sprites?