Navigation
API > API/Editor > API/Editor/ViewportInteraction
Viewport interactor for a mouse cursor
| Name | UMouseCursorInteractor |
| Type | class |
| Header File | /Engine/Source/Editor/ViewportInteraction/Public/MouseCursorInteractor.h |
| Include Path | #include "MouseCursorInteractor.h" |
Syntax
UCLASS (MinimalAPI)
class UMouseCursorInteractor : public UViewportInteractor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UViewportInteractor → UMouseCursorInteractor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMouseCursorInteractor() |
Default constructor. | MouseCursorInteractor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsControlKeyPressed | bool | Whether the control key was pressed the last time input was polled | MouseCursorInteractor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init() |
Initialize default values | MouseCursorInteractor.h |
Overridden from UViewportInteractor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsModifierPressed() |
MouseCursorInteractor.h | ||
virtual void PollInput() |
Base classes need to implement getting the input for the input devices for that interactor | MouseCursorInteractor.h |
Protected
Overridden from UViewportInteractor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AllowLaserSmoothing() |
If this interactors allows to smooth the laser. Default is true. | MouseCursorInteractor.h |