Repository navigation
Functions
(
const char* AnimatorName,
unsigned int NumOfFramesPerRow,
unsigned int NumOfRows,
unsigned int Speed,
bool bPlayInReverse = false,
bool bContinuous = false,
bool bLooping = true
)
AnimatorName: A name the animator will be identified by.
NumOfFramesPerRow: The amount of frames/columns in a row.
NumOfRows: The amount of rows in the sprite sheet.
Speed: The animation speed in frames per second.
bPlayInReverse: Should the animator play the sprite in reverse play mode?
bContinuous: Should the animator automatically go to the next row in the sprite sheet?
bLooping: Should the animator loop indefinitely?
(
const Texture2D& Sprite
)
Sprite: The sprite the animator will use.
(
const bool bLooping
)
bLooping: Set whether the animator should loop.
(
const bool bIsContinuous
)
bIsContinuous: Set whether the animator should go to the next row in the sprite sheet.
Returns: The total amount of frames in the sprite-sheet.
Returns: The total rows in the sprite-sheet.
Returns: The total columns per row.
Returns: The current frame the animator is on. (Zero based)
Returns: The current row the animator is on. (Zero based)
Returns: The current column the animator is on. (Zero based)
Returns: The total time the animation will take to finish in frames.
Returns: The time remaining in frames.
Returns: The total time the animation will take to finish in seconds.
Returns: The time remaining in seconds.
Returns: The name of the animator.