Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
A viewport interaction used to change the camera Field of View using either keyboard inputs or the mouse wheel
| Name | UViewportFOVInteraction |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/ViewportInteractions/ViewportFOVInteraction.h |
| Include Path | #include "ViewportInteractions/ViewportFOVInteraction.h" |
Syntax
UCLASS (MinimalAPI, Transient)
class UViewportFOVInteraction :
public UViewportInteraction ,
public IKeyInputBehaviorTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UViewportInteraction → UViewportFOVInteraction
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UViewportFOVInteraction() |
ViewportInteractions/ViewportFOVInteraction.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UViewportFOVInteraction() |
ViewportInteractions/ViewportFOVInteraction.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseNumpadKey | bool | ViewportInteractions/ViewportFOVInteraction.h | ||
| KeyInputBehaviorWeak | TWeakObjectPtr< UKeyInputBehavior > | ViewportInteractions/ViewportFOVInteraction.h | ||
| ZoomOutInImpulse | float | ViewportInteractions/ViewportFOVInteraction.h |
Functions
Public
Overridden from UViewportInteraction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize
(
UViewportInteractionsBehaviorSource*const InViewportInteractionsBehaviorSource |
Initialization code which can be expanded by derived classes | ViewportInteractions/ViewportFOVInteraction.h | |
virtual void Tick
(
float InDeltaTime |
ViewportInteractions/ViewportFOVInteraction.h |
Overridden from IKeyInputBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnKeyPressed
(
const FKey& InKeyID |
ViewportInteractions/ViewportFOVInteraction.h | ||
virtual void OnKeyReleased
(
const FKey& InKeyID |
ViewportInteractions/ViewportFOVInteraction.h |
Overridden from IModifierToggleBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnForceEndCapture() |
ViewportInteractions/ViewportFOVInteraction.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ViewportInteractions/ViewportFOVInteraction.h | |||
| ViewportInteractions/ViewportFOVInteraction.h | |||
void UpdateKeyState
(
const FKey& InKeyID, |
ViewportInteractions/ViewportFOVInteraction.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/ViewportFOVInteraction.h | |
virtual void OnCommandChordChanged() |
Define what should happen to UInputBehavior(s) when an "observed" command chord changes | ViewportInteractions/ViewportFOVInteraction.h |