Navigation
API > API/Editor > API/Editor/ViewportInteraction
Methods of dragging objects around in VR
| Name | EViewportInteractionDraggingMode |
| Type | enum |
| Header File | /Engine/Source/Editor/ViewportInteraction/Public/ViewportInteractionTypes.h |
| Include Path | #include "ViewportInteractionTypes.h" |
Syntax
enum EViewportInteractionDraggingMode
{
Nothing,
TransformablesWithGizmo,
TransformablesAtLaserImpact,
AssistingDrag,
TransformablesFreely,
World,
Interactable,
Material,
}
Values
| Name | Remarks |
|---|---|
| Nothing | Not dragging right now with this hand |
| TransformablesWithGizmo | Dragging transformables (e.g. actors, components, geometry elements) around using the transform gizmo |
| TransformablesAtLaserImpact | Transformables locked to the impact point under the laser |
| AssistingDrag | We're grabbing an object (or the world) that was already grabbed by the other hand |
| TransformablesFreely | Freely moving, rotating and scaling transformables with one or two hands |
| World | Moving the world itself around (actually, moving the camera in such a way that it feels like you're moving the world) |
| Interactable | Moving a custom interactable |
| Material | Dragging a material |