ESpriteCollisionMode::Type

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

Choose your operating system:

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.