PAPER2APaperCharacter

APaperCharacter behaves like [ACharacter](API\Runtime\Engine\GameFramework\ACharacter), but uses a UPaperFlipbookComponent instead of a [USkeletalMeshComponent](API\Runtime\Engine\Components\USkeletalMeshComponent) as a visual representation.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Paper2D

Header

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

Include

#include "PaperCharacter.h"

Syntax

UCLASS()
class PAPER2APaperCharacter : public ACharacter

Remarks

APaperCharacter behaves like ACharacter, but uses a UPaperFlipbookComponent instead of a USkeletalMeshComponent as a visual representation.

Constructors

Name Description

Public function

PAPER2APaperCharacter

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

UPaperFlipbo...

 

GetSprite()

Returns Sprite subobject

Overridden from AActor

Name Description

Public function Virtual

void

 

PostInitializeComponents()

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.