TextureFlipBook¶
Class in Engine · Engine.TextureFlipBook · native
Object › Surface › Texture › Texture2D › TextureFlipBook
Using it from Lua
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¶
| Name | Type | Notes |
|---|---|---|
bAutoPlay | bool | |
bLooping | bool | |
bPaused | bool | const |
bStopped | bool | const |
CurrentColumn | int | const, transient |
CurrentRow | int | const, transient |
FBMethod | TextureFlipBookMethod | |
FrameRate | float | |
FrameTime | float | private |
HorizontalImages | int | |
HorizontalScale | float | const, transient |
ReleaseResourcesFence | pointer | const, native |
RenderOffsetU | float | const, transient |
RenderOffsetV | float | const, transient |
TimeIntoMovie | float | const, transient |
TimeSinceLastFrame | float | const, transient |
VerticalImages | int | |
VerticalScale | float | const, transient |
Functions¶
| Name | Declaration |
|---|---|
Pause | native function Pause() |
Play | native function Play() |
SetCurrentFrame | native function SetCurrentFrame(int Row, int Col) |
Stop | native 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¶
| From | Members |
|---|---|
| Texture2D | 35 properties, 6 functions |
| Texture | 40 properties, 0 functions |
| Surface | 0 properties, 2 functions |
| Object | 13 properties, 308 functions |