Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
A viewport interaction used to Translate the camera using keyboard inputs while the camera is being moved using the mouse
| Name | UViewportCameraTranslateInteraction |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/ViewportInteractions/ViewportCameraTranslateInteraction.h |
| Include Path | #include "ViewportInteractions/ViewportCameraTranslateInteraction.h" |
Syntax
UCLASS (MinimalAPI, Transient)
class UViewportCameraTranslateInteraction :
public UViewportInteraction ,
public IKeyInputBehaviorTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UViewportInteraction → UViewportCameraTranslateInteraction
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UViewportCameraTranslateInteraction() |
ViewportInteractions/ViewportCameraTranslateInteraction.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseNumpadKey | bool | ViewportInteractions/ViewportCameraTranslateInteraction.h | ||
| KeyInputBehaviorWeak | TWeakObjectPtr< UKeyInputBehavior > | ViewportInteractions/ViewportCameraTranslateInteraction.h |
Functions
Public
Overridden from UViewportInteraction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Tick
(
float InDeltaTime |
ViewportInteractions/ViewportCameraTranslateInteraction.h |
Overridden from IKeyInputBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnKeyPressed
(
const FKey& InKeyID |
ViewportInteractions/ViewportCameraTranslateInteraction.h | ||
virtual void OnKeyReleased
(
const FKey& InKeyID |
ViewportInteractions/ViewportCameraTranslateInteraction.h |
Overridden from IModifierToggleBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnForceEndCapture() |
ViewportInteractions/ViewportCameraTranslateInteraction.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ViewportInteractions/ViewportCameraTranslateInteraction.h |
Overridden from UViewportInteraction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< TSharedPtr< FUICommandInfo > > GetCommands () |
Return a list of commands used by a key-based UInputBehavior. | ViewportInteractions/ViewportCameraTranslateInteraction.h | |
virtual void OnCommandChordChanged() |
Define what should happen to UInputBehavior(s) when an "observed" command chord changes | ViewportInteractions/ViewportCameraTranslateInteraction.h |