Navigation
API > API/Plugins > API/Plugins/Paper2D
APaperCharacter behaves like ACharacter, but uses a UPaperFlipbookComponent instead of a USkeletalMeshComponent as a visual representation Note: The variable named Mesh will not be set up on this actor!
| Name | APaperCharacter |
| Type | class |
| Header File | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperCharacter.h |
| Include Path | #include "PaperCharacter.h" |
Syntax
UCLASS (MinimalAPI)
class APaperCharacter : public ACharacter
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → APawn → ACharacter → APaperCharacter
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
APaperCharacter
(
const FObjectInitializer& ObjectInitializer |
PaperCharacter.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SpriteComponentName | FName | Name of the Sprite component. | PaperCharacter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Sprite | TObjectPtr< class UPaperFlipbookComponent > | The main skeletal mesh associated with this Character (optional sub-object). | PaperCharacter.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPaperFlipbookComponent * GetSprite() |
Returns Sprite subobject | PaperCharacter.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostInitializeComponents() |
PaperCharacter.h |