unreal.ViewportInteractionDraggingMode

class unreal.ViewportInteractionDraggingMode

Bases: EnumBase

Methods of dragging objects around in VR

C++ Source:

  • Module: ViewportInteraction

  • File: ViewportInteractionTypes.h

ASSISTING_DRAG: ViewportInteractionDraggingMode

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

Type:

3

INTERACTABLE: ViewportInteractionDraggingMode

Moving a custom interactable

Type:

6

MATERIAL: ViewportInteractionDraggingMode

Dragging a material

Type:

7

NOTHING: ViewportInteractionDraggingMode

Not dragging right now with this hand

Type:

0

TRANSFORMABLES_AT_LASER_IMPACT: ViewportInteractionDraggingMode

Transformables locked to the impact point under the laser

Type:

2

TRANSFORMABLES_FREELY: ViewportInteractionDraggingMode

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

Type:

4

TRANSFORMABLES_WITH_GIZMO: ViewportInteractionDraggingMode

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

Type:

1

WORLD: ViewportInteractionDraggingMode

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

Type:

5