ITexture:GetNumAnimationFrames
Description
Returns the number of animation frames in this texture.
Returns
Example
local m = Material( "effects/prisonmap_disp" )
local t = m:GetTexture( "$basetexture" )
print( t:GetNumAnimationFrames() )
Output:
39