Navigation
API > API/Plugins > API/Plugins/Paper2D
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.
| Name | APaperSpriteActor |
| Type | class |
| Header File | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperSpriteActor.h |
| Include Path | #include "PaperSpriteActor.h" |
Syntax
UCLASS (MinimalAPI, ComponentWrapperClass, Meta=(ChildCanTick))
class APaperSpriteActor : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → APaperSpriteActor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
APaperSpriteActor
(
const FObjectInitializer& ObjectInitializer |
PaperSpriteActor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RenderComponent | TObjectPtr< class UPaperSpriteComponent > | PaperSpriteActor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPaperSpriteComponent * GetRenderComponent() |
Returns RenderComponent subobject | PaperSpriteActor.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| PaperSpriteActor.h |