unreal.ViewportInteractionDraggingMode

class unreal.ViewportInteractionDraggingMode

Bases: unreal.EnumBase

Methods of dragging objects around in VR

C++ Source:

  • Module: ViewportInteraction

  • File: ViewportInteractionTypes.h

ASSISTING_DRAG

We’re grabbing an object (or the world) that was already grabbed by the other hand

Type

3

INTERACTABLE

Moving a custom interactable

Type

6

MATERIAL

Dragging a material

Type

7

NOTHING

Not dragging right now with this hand

Type

0

TRANSFORMABLES_AT_LASER_IMPACT

Transformables locked to the impact point under the laser

Type

2

TRANSFORMABLES_FREELY

Freely moving, rotating and scaling transformables with one or two hands

Type

4

TRANSFORMABLES_WITH_GIZMO

Dragging transformables (e.g. actors, components, geometry elements) around using the transform gizmo

Type

1

WORLD

Moving the world itself around (actually, moving the camera in such a way that it feels like you’re moving the world)

Type

5