Navigation
API > API/Plugins > API/Plugins/Paper2DEditor
Factory for sprites
| Name | UPaperSpriteFactory |
| Type | class |
| Header File | /Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperSpriteFactory.h |
| Include Path | #include "PaperSpriteFactory.h" |
Syntax
UCLASS ()
class UPaperSpriteFactory : public UFactory
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UFactory → UPaperSpriteFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPaperSpriteFactory
(
const FObjectInitializer& ObjectInitializer |
PaperSpriteFactory.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseSourceRegion | bool | Set bUseSourceRegion to get it to use/set initial sourceUV and dimensions. | PaperSpriteFactory.h | |
| InitialSourceDimension | FIntPoint | PaperSpriteFactory.h | ||
| InitialSourceUV | FIntPoint | PaperSpriteFactory.h | ||
| InitialTexture | UTexture2D * | Initial texture to create the sprite from (Can be nullptr) | PaperSpriteFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ConfigureProperties() |
PaperSpriteFactory.h | ||
virtual UObject * FactoryCreateNew
(
UClass* Class, |
PaperSpriteFactory.h |