Navigation
API > API/Plugins > API/Plugins/Paper2DEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UFactory
- UPaperSpriteFactory
References
| Module | Paper2DEditor |
| Header | /Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperSpriteFactory.h |
| Include | #include "PaperSpriteFactory.h" |
Syntax
UCLASS&40;&41;
class UPaperSpriteFactory : public UFactory
Remarks
Factory for sprites
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseSourceRegion | Set bUseSourceRegion to get it to use/set initial sourceUV and dimensions. | |
| FIntPoint | InitialSourceDimension | ||
| FIntPoint | InitialSourceUV | ||
| UTexture2D * | InitialTexture | Initial texture to create the sprite from (Can be nullptr) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPaperSpriteFactory
(
const FObjectInitializer& ObjectInitializer |
Overridden from UFactory
| Type | Name | Description | |
|---|---|---|---|
| bool | Opens a dialog to configure the factory properties. | ||
| UObject * | FactoryCreateNew
(
UClass* InClass, |
Create a new object by class. |