Navigation
API > API/Plugins > API/Plugins/Paper2D
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- APawn
- ACharacter
- PAPER2APaperCharacter
References
| Module | Paper2D |
| Header | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperCharacter.h |
| Include | #include "PaperCharacter.h" |
Syntax
UCLASS&40;&41;
class PAPER2APaperCharacter : public ACharacter
Remarks
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!
Constructors
| Type | Name | Description | |
|---|---|---|---|
PAPER2APaperCharacter
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UPaperFlipbookComponent * | GetSprite () |
Returns Sprite subobject |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| void | Allow actors to initialize themselves on the C++ side after all of their components have been initialized, only called during gameplay |
Constants
| Name | Description |
|---|---|
| SpriteComponentName | Name of the Sprite component. |