Skip to content

TextureFlipBook

Class in Engine · Engine.TextureFlipBook · native

Object › Surface › Texture › Texture2D › TextureFlipBook

Using it from Lua
h7.find_all("TextureFlipBook")            -- live instances
h7.find_class("Engine.TextureFlipBook")   -- the class
h7.hook("Engine.TextureFlipBook.Pause", fn)

Enums

TextureFlipBookMethod

TFBM_UL_ROW = 0, TFBM_UL_COL = 1, TFBM_UR_ROW = 2, TFBM_UR_COL = 3, TFBM_LL_ROW = 4, TFBM_LL_COL = 5, TFBM_LR_ROW = 6, TFBM_LR_COL = 7, TFBM_RANDOM = 8

Properties

NameTypeNotes
bAutoPlaybool
bLoopingbool
bPausedboolconst
bStoppedboolconst
CurrentColumnintconst, transient
CurrentRowintconst, transient
FBMethodTextureFlipBookMethod
FrameRatefloat
FrameTimefloatprivate
HorizontalImagesint
HorizontalScalefloatconst, transient
ReleaseResourcesFencepointerconst, native
RenderOffsetUfloatconst, transient
RenderOffsetVfloatconst, transient
TimeIntoMoviefloatconst, transient
TimeSinceLastFramefloatconst, transient
VerticalImagesint
VerticalScalefloatconst, transient

Functions

NameDeclaration
Pausenative function Pause()
Playnative function Play()
SetCurrentFramenative function SetCurrentFrame(int Row, int Col)
Stopnative function Stop()

Default values

bStopped=false
bLooping=true
bAutoPlay=true
FrameRate=4
FrameTime=0.25
CurrentRow=0
CurrentColumn=0
HorizontalImages=1
VerticalImages=1
FBMethod=TFBM_UL_ROW
AddressX=TA_Clamp
AddressY=TA_Clamp

Inherited

FromMembers
Texture2D35 properties, 6 functions
Texture40 properties, 0 functions
Surface0 properties, 2 functions
Object13 properties, 308 functions