UPaperSpriteFactory

Factory for sprites

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Paper2DEditor

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperSpriteFactory.h

Include

#include "PaperSpriteFactory.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UPaperSpriteFactory : public UFactory

Remarks

Factory for sprites

Variables

Name Description

Public variable

bool

 

bUseSourceRegion

Set bUseSourceRegion to get it to use/set initial sourceUV and dimensions.

Public variable

FIntPoint

 

InitialSourceDimension

Public variable

FIntPoint

 

InitialSourceUV

Public variable

UTexture2D *...

 

InitialTexture

Initial texture to create the sprite from (Can be nullptr)

Constructors

Name Description

Public function

UPaperSpriteFactory

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UFactory

Name Description

Public function Virtual

bool

 

ConfigureProperties()

Opens a dialog to configure the factory properties.

Public function Virtual

UObject *...

 

FactoryCreateNew

(
    UClass* InClass,
    UObject* InParent,
    FName InName,
    EObjectFlags Flags,
    UObject* Context,
    FFeedbackContext* Warn
)

Create a new object by class.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss