Navigation
API > API/Plugins > API/Plugins/Paper2D > API/Plugins/Paper2D/UPaperFlipbook
Description
Returns the sprite at the specified time (in seconds), or nullptr if none exists. When bClampToEnds is true, it will choose the first or last sprite if the time is out of range.
| Name | GetSpriteAtTime |
| Type | function |
| Header File | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperFlipbook.h |
| Include Path | #include "PaperFlipbook.h" |
| Source | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Private/PaperFlipbook.cpp |
UFUNCTION (BlueprintCallable, Category="Sprite")
UPaperSprite * GetSpriteAtTime
(
float Time,
bool bClampToEnds
) const