Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseBehaviors
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInputBehavior
- UMouseHoverBehavior
- ULocalMouseHoverBehavior
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/MouseHoverBehavior.h |
| Include | #include "BaseBehaviors/MouseHoverBehavior.h" |
Syntax
class UMouseHoverBehavior : public UInputBehavior
Remarks
Trivial InputBehavior that forwards InputBehavior hover events to a Target object via the IHoverBehaviorTarget interface.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FInputBehaviorModifierStates | Modifiers | The modifier set for this behavior | |
| IHoverBehaviorTarget * | Target |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
IHoverBehaviorTarget* Target |
Overridden from UInputBehavior
| Type | Name | Description | |
|---|---|---|---|
| FInputCaptureUpdate | BeginHoverCapture
(
const FInputDeviceState& InputState, |
Called after WantsHoverCapture() returns a capture request that was accepted | |
| void | If a different hover capture begins, focus is lost, a tool starts, etc, any active hover visualization needs to terminate | ||
| EInputDevices | Which device types does this Behavior support | ||
| FInputCaptureUpdate | UpdateHoverCapture
(
const FInputDeviceState& InputState |
Called on each new hover input event, ie if no other behavior is actively capturing input | |
| FInputCaptureRequest | WantsHoverCapture
(
const FInputDeviceState& InputState |
Given the input state, does this Behavior want to begin capturing some input devices for hover | |
| bool | Hover support (optional)return true if this Behavior supports hover (ie passive input events) |