Navigation
API > API/Plugins > API/Plugins/Paper2D > API/Plugins/Paper2D/UPaperGroupedSpriteComponent
Description
Add an instance to this component. Transform can be given either in the local space of this component or world space.
| Name | AddInstance |
| Type | function |
| Header File | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperGroupedSpriteComponent.h |
| Include Path | #include "PaperGroupedSpriteComponent.h" |
| Source | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Private/PaperGroupedSpriteComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|Sprite")
int32 AddInstance
(
const FTransform & Transform,
UPaperSprite * Sprite,
bool bWorldSpace,
FLinearColor Color
)