Skip to content

TextureFrames

Narta Xaymar Dirks edited this page Oct 28, 2026 · 2 revisions

TextureFrames

TextureFrames:Int32 texture:Int32
Parameter Mode Type Default Description
texture In Int32 required The texture to ask about.

Returns: The number of frames, at least 1.

Description

Says how many frames a texture has: more than one for a texture from CreateTexture with frames, from LoadAnimTexture, or from an animated picture file. Any other texture has 1. Choose the frame to show with the frame argument of EntityTexture or BrushTexture.

This is a BlitzLLVM extension: the originals cannot ask this.

Related Commands

TextureBlend, TextureBuffer, TextureCoords, TextureFilter, TextureFrameDelay, TextureHeight, TextureName, TextureReady 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally