Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/SpriteEditorOnlyTypes.h |
Include |
#include "SpriteEditorOnlyTypes.h" |
[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct PAPER2FSpriteGeometryCollection
Name | Description | ||
---|---|---|---|
|
float |
AlphaThreshold |
Alpha threshold for a transparent pixel (range 0..1, anything equal or below this value will be considered unimportant) |
|
bAvoidVertexMerging |
Experimental: Hint to the triangulation routine that extra vertices should be preserved. |
|
|
float |
DetailAmount |
Amount to detail to consider when shrink-wrapping (range 0..1, 0 = low detail, 1 = high detail) |
|
TEnumAsByte< ES... |
GeometryType |
The geometry type (automatic / manual) |
|
PixelsPerSubdivisionX |
Size of a single subdivision (in pixels) in X (for Diced mode) |
|
|
PixelsPerSubdivisionY |
Size of a single subdivision (in pixels) in Y (for Diced mode) |
|
|
TArray< FSprite... |
Shapes |
List of shapes. |
|
float |
SimplifyEpsilon |
This is the threshold below which multiple vertices will be merged together when doing shrink-wrapping. Higher values result in fewer vertices. |
Name | Description | ||
---|---|---|---|
|
AddCircleShape |
||
|
AddRectangleShape |
||
|
ConditionGeometry() |
Conditions this geometry collection (turning Polygons back to Boxes if they meet the definition of a box, etc...) Returns true if something was modified |
|
|
FSpriteGeometryCollection() |
||
|
Reset() |
Empties this geometry collection, resetting the GeometryType to TightBoundingBox. |
|
|
Triangulate |
Takes all polygon shapes and generates a list of triangles from them. |