Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
| Name | UViewportCameraSpeedMouseWheelInteraction |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/ViewportInteractions/ViewportCameraSpeedMouseWheelInteraction.h |
| Include Path | #include "ViewportInteractions/ViewportCameraSpeedMouseWheelInteraction.h" |
Syntax
UCLASS (MinimalAPI)
class UViewportCameraSpeedMouseWheelInteraction :
public UViewportInteraction ,
public IMouseWheelBehaviorTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UViewportInteraction → UViewportCameraSpeedMouseWheelInteraction
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UViewportCameraSpeedMouseWheelInteraction() |
ViewportInteractions/ViewportCameraSpeedMouseWheelInteraction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateCameraSpeed
(
float InUpdateFactor |
Increments the current camera speed using the specified change factor, e.g. Speed += Speed * UpdateFactor | ViewportInteractions/ViewportCameraSpeedMouseWheelInteraction.h |
Overridden from IMouseWheelBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnMouseWheelScrollDown
(
const FInputDeviceRay& CurrentPos |
ViewportInteractions/ViewportCameraSpeedMouseWheelInteraction.h | ||
virtual void OnMouseWheelScrollUp
(
const FInputDeviceRay& CurrentPos |
ViewportInteractions/ViewportCameraSpeedMouseWheelInteraction.h | ||
virtual FInputRayHit ShouldRespondToMouseWheel
(
const FInputDeviceRay& CurrentPos |
ViewportInteractions/ViewportCameraSpeedMouseWheelInteraction.h |