/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperSprite.h
UPaperSpriteComponent
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, Meta=(DisplayThumbnail="true")) class PAPER2UPaperSprite : public [UObject](API\Runtime\CoreUObject\UObject\UObject), public [IInterface_CollisionDataProvider](API\Runtime\Engine\Interfaces\IInterface_CollisionDataProvider), public [ISlateTextureAtlasInterface](API\Runtime\Engine\Slate\ISlateTextureAtlasInterface)
TArray<TObject...
AdditionalSourceTextures
Additional source textures for other slots.
TObjectPtr<UMa...
AlternateMaterial
The alternate material to use on a sprite instance if not overridden (this is only used for Diced render geometry, and will be the opaque material in that case, slot 1)
int32
AlternateMaterialSplitIndex
The point at which the alternate material takes over in the baked render data (or INDEX_NONE)
TObjectPtr< cla...
AtlasGroup
Spritesheet group that this sprite belongs to.
TArray< FVector...
BakedRenderData
Baked render data (triangle vertices, stored as XY UV tuples) XY is the XZ position in world space, relative to the pivot UV is normalized (0..1) There should always be a multiple of three elements in this array
FVector2D
BakedSourceDimension
Dimensions within BakedSourceTexture (in pixels)
TObjectPtr<UTe...
BakedSourceTexture
FVector2D
BakedSourceUV
Position within BakedSourceTexture (in pixels)
TObjectPtr< cla...
BodySetup
Baked physics data.
bool
bRotatedInSourceImage
This texture is rotated in the atlas.
bool
bSnapPivotToPixelGrid
Should the pivot be snapped to a pixel boundary?
bool
bTrimmedInSourceImage
This texture is trimmed, consider the values above.
FSpriteGeometry...
CollisionGeometry
Custom collision geometry polygons (in texture space)
float
CollisionThickness
The extrusion thickness of collision geometry when using a 3D collision domain.
FVector2D
CustomPivotPoint
Custom pivot point (relative to the sprite rectangle)
TObjectPtr<UMa...
DefaultMaterial
The material to use on a sprite instance if not overridden (this is the default material when only one is being used, and is the translucent/masked material for Diced render geometry, slot 0)
FVector2D
OriginInSourceImageBeforeTrimming
Origin within SourceImage, prior to atlasing.
TEnumAsByte<ES...
PivotMode
Pivot mode.
float
PixelsPerUnrealUnit
The scaling factor between pixels and Unreal units (cm) (e.g., 0.64 would make a 64 pixel wide sprite take up 100 cm)
TSoftObjectPtr<...
PreviousAtlasGroup
The previous spritesheet group this belonged to To make sure we remove ourselves from it if changed or nulled out
FSpriteGeometry...
RenderGeometry
Custom render geometry polygons (in texture space)
TArray<FPaperS...
Sockets
List of sockets on this sprite.
FVector2D
SourceDimension
Dimensions within SourceTexture (in pixels)
FVector2D
SourceImageDimensionBeforeTrimming
Dimensions of SourceImage.
TSoftObjectPtr<...
SourceTexture
The source texture that the sprite comes from.
TObjectPtr<UTe...
SourceTextureCacheNeverSerialized
FVector2D
SourceTextureDimension
Dimension of the texture when this sprite was created Used when the sprite is resized at some point
FVector2D
SourceUV
Position within SourceTexture (in pixels)
TEnumAsByte<ES...
SpriteCollisionDomain
Collision domain (no collision, 2D, or 3D)