Navigation
API > API/Plugins > API/Plugins/Paper2D > API/Plugins/Paper2D/PAPER2UPaperFlipbook
References
| Module | Paper2D |
| Header | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperFlipbook.h |
| Include | #include "PaperFlipbook.h" |
UFUNCTION&40;BlueprintCallable, Category&61;"Sprite"&41;
int32 GetKeyFrameIndexAtTime
&40;
float Time,
bool bClampToEnds
&41; const
Remarks
Returns the keyframe index that covers the specified time (in seconds), or INDEX_NONE if none exists. When bClampToEnds is true, it will choose the first or last keyframe if the time is out of range.