UScalableSphereGizmoInputBehavior

A behavior that forwards clicking and dragging to the gizmo.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ScalableSphereGizmo.h

Include

#include "BaseGizmos/ScalableSphereGizmo.h"

Syntax

class UScalableSphereGizmoInputBehavior : public UAnyButtonInputBehavior

Remarks

A behavior that forwards clicking and dragging to the gizmo.

Variables

Name Description

Protected variable

bool

 

bInputDragCaptured

Protected variable

UScalableSphere...

 

Gizmo

Protected variable

FVector2D

 

LastScreenPosition

Protected variable

FRay

 

LastWorldRay

Functions

Name Description

Public function Virtual

void

 

Initialize

(
    UScalableSphereGizmo* Gizmo
)

Overridden from UInputBehavior

Name Description

Public function Virtual

FInputCaptur...

 

BeginCapture

(
    const FInputDeviceState& InputStat...,
    EInputCaptureSide eSide
)

Called after WantsCapture() returns a capture request that was accepted

Public function Virtual

void

 

ForceEndCapture

(
    const FInputCaptureData& CaptureDa...
)

If this is called, the Behavior has forcibly lost capture (eg due to app losing focus for example) and needs to clean up accordingly

Public function Virtual

FInputCaptur...

 

GetPriority()

The priority is used to resolve situations where multiple behaviors want the same capture

Public function Virtual

FInputCaptur...

 

UpdateCapture

(
    const FInputDeviceState& InputStat...,
    const FInputCaptureData& CaptureDa...
)

Called for each new input event during a capture sequence.

Public function Virtual

FInputCaptur...

 

WantsCapture

(
    const FInputDeviceState& InputStat...
)

Given the input state, does this Behavior want to begin capturing some input devices?