ESpriteCollisionMode::Type

The kind of collision that a Paper2D asset or component might participate in.

Windows
MacOS
Linux

References

Module

Paper2D

Header

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

Include

#include "SpriteEditorOnlyTypes.h"

Syntax

namespace ESpriteCollisionMode
{
    enum Type
    {
        None,
        Use2DPhysics,
        Use3DPhysics,
    }
}

Values

Name

Description

None

Should this have no collison and not participate in physics?

Use2DPhysics

Use3DPhysics

Should this have 3D collision geometry and participate in the 3D physics world?

Remarks

The kind of collision that a Paper2D asset or component might participate in.

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