Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
A behavior that captures a keyboard hotkey to enter a property adjustment sub-mode while the key is pressed. In this sub-mode, click-dragging the mouse will begin updating the properties specified by the behavior target.
| Name | UTwoAxisPropertyEditInputBehavior |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/TwoAxisPropertyEditBehavior.h |
| Include Path | #include "BaseBehaviors/TwoAxisPropertyEditBehavior.h" |
Syntax
UCLASS (MinimalAPI)
class UTwoAxisPropertyEditInputBehavior : public UInputBehavior
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInputBehavior → UTwoAxisPropertyEditInputBehavior
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FDragState | Data that is only valid while in a drag (while bInDrag is true13). |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInDrag | bool | These 2 bools reflect which input we are currently capturing. | BaseBehaviors/TwoAxisPropertyEditBehavior.h | |
| bKeyPressed | bool | BaseBehaviors/TwoAxisPropertyEditBehavior.h | ||
| State | UTwoAxisPropertyEditInputBehavior::FDragState | BaseBehaviors/TwoAxisPropertyEditBehavior.h | ||
| Target | ITwoAxisPropertyEditBehaviorTarget * | BaseBehaviors/TwoAxisPropertyEditBehavior.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawHUD
(
FCanvas* Canvas, |
BaseBehaviors/TwoAxisPropertyEditBehavior.h | ||
void Initialize
(
ITwoAxisPropertyEditBehaviorTarget* InTarget |
BaseBehaviors/TwoAxisPropertyEditBehavior.h | ||
bool IsEditing() |
BaseBehaviors/TwoAxisPropertyEditBehavior.h | ||
void ResetOrigin
(
FVector2D InScreenPosition, |
Used to define the initial adjustment frame or to update the current reference point alternating between editing the 2 properties. | BaseBehaviors/TwoAxisPropertyEditBehavior.h |