PAPER2UPaperGroupedSpriteComponent::SetupNewInstanceData

Sets up new instance data to sensible defaults, creates physics counterparts if possible

Choose your operating system:

Windows

macOS

Linux

References

Module

Paper2D

Header

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

Include

#include "PaperGroupedSpriteComponent.h"

Syntax

void SetupNewInstanceData
(
    FSpriteInstanceData & InOutNewInstanceData,
    int32 InInstanceIndex,
    const FTransform & InInstanceTransform,
    UPaperSprite * InSprite,
    UMaterialInterface * MaterialOverride,
    const FColor & InColor
)

Remarks

Sets up new instance data to sensible defaults, creates physics counterparts if possible