Navigation
Unreal Engine C++ API Reference > Editor > ViewportInteraction
References
Module | ViewportInteraction |
Header | /Engine/Source/Editor/ViewportInteraction/Public/ViewportInteractionTypes.h |
Include | #include "ViewportInteractionTypes.h" |
Syntax
enum EViewportInteractionDraggingMode
{
Nothing,
TransformablesWithGizmo,
TransformablesAtLaserImpact,
AssistingDrag,
TransformablesFreely,
World,
Interactable,
Material,
}
Values
Name | Description |
---|---|
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 |
Remarks
Methods of dragging objects around in VR