PAPER2UPaperFlipbook::GetSpriteAtTime

Returns the sprite at the specified time (in seconds), or nullptr if none exists.

Windows
MacOS
Linux

References

Module

Paper2D

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperFlipbook.h

Include

#include "PaperFlipbook.h"

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Sprite")
UPaperSprite * GetSpriteAtTime
(
    float Time,
    bool bClampToEnds
) const

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss