PAPER2APaperSpriteActor

An instance of a UPaperSprite in a level.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

AActor

PAPER2APaperSpriteActor

References

Module

Paper2D

Header

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

Include

#include "PaperSpriteActor.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ComponentWrapperClass, Meta=(ChildCanTick))
class PAPER2APaperSpriteActor : public AActor

Remarks

An instance of a UPaperSprite in a level.

This actor is created when you drag a sprite asset from the content browser into the level, and it is just a thin wrapper around a UPaperSpriteComponent that actually references the asset.

Constructors

Name Description

Public function

PAPER2APaperSpriteActor

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

UPaperSprite...

 

GetRenderComponent()

Returns RenderComponent subobject

Overridden from AActor

Name Description

Public function Virtual Const

bool

 

GetReferencedContentObjects

(
    TArray< UObject* >& Objects
)

Used by the "Sync to Content Browser" right-click menu option in the editor.

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