ESpritePolygonMode::Type

Method of specifying polygons for a sprite's render or collision data.

Windows
MacOS
Linux

References

Module

Paper2D

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/SpriteEditorOnlyTypes.h

Include

#include "SpriteEditorOnlyTypes.h"

Syntax

namespace ESpritePolygonMode
{
    enum Type
    {
        SourceBoundingBox,
        TightBoundingBox,
        ShrinkWrapped,
        FullyCustom,
        Diced,
    }
}

Values

Name

Description

SourceBoundingBox

Use the bounding box of the source sprite (no optimization)

TightBoundingBox

Tighten the bounding box around the sprite to exclude fully transparent areas (the default)

ShrinkWrapped

Shrink-wrapped geometry

FullyCustom

Fully custom geometry; edited by hand

Diced

Diced (split up into smaller squares, including only non-empty ones in the final geometry).

Remarks

Method of specifying polygons for a sprite's render or collision data.

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