Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseTools/MeshSurfacePointTool.h |
Include |
#include "BaseTools/MeshSurfacePointTool.h" |
class UMeshSurfacePointTool :
public USingleSelectionTool,
public IClickDragBehaviorTarget,
public IHoverBehaviorTarget
UMeshSurfacePointTool is a base Tool implementation that can be used to implement various "point on surface" interactions. The tool acts on an input IMeshDescriptionSource object, which the standard Builder can extract from the current selection (eg Editor selection).
Subclasses override the OnBeginDrag/OnUpdateDrag/OnEndDrag and OnUpdateHover functions to implement custom behavior.
Name | Description | ||
---|---|---|---|
|
bCtrlToggle |
Current state of the ctrl modifier toggle |
|
|
bShiftToggle |
Current state of the shift modifier toggle |
|
|
LastWorldRay |
||
|
StylusAPI |
Name | Description | ||
---|---|---|---|
|
GetCtrlToggle() |
||
|
float |
GetCurrentDevicePressure() |
|
|
GetShiftToggle() |
||
|
HitTest ( |
||
|
OnBeginDrag ( |
This function is called when the user begins a click-drag-release interaction |
|
|
OnEndDrag ( |
This function is called when the user releases the button driving a click-drag-release interaction |
|
|
OnUpdateDrag ( |
This function is called each frame that the user is in a click-drag-release interaction |
|
|
SetCtrlToggle ( |
Called by registered InputBehaviors to set the state of the "shift" button (or device equivalent) |
|
|
SetShiftToggle ( |
Called by registered InputBehaviors to set the state of the "shift" button (or device equivalent) |
|
|
SetStylusAPI ( |
Set current stlyus API source |
Name | Description | ||
---|---|---|---|
|
CanBeginClickDragSequence ( |
IClickDragBehaviorTarget implementation. |
|
|
OnClickDrag ( |
Notify Target that input position has changed |
|
|
OnClickPress ( |
Notify Target that click press ocurred |
|
|
OnClickRelease ( |
Notify Target that click release occurred |
|
|
OnTerminateDragSequence() |
Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) |
Name | Description | ||
---|---|---|---|
|
OnUpdateModifierState ( |
Notify target of current modifier state |
Name | Description | ||
---|---|---|---|
|
BeginHoverSequenceHitTest ( |
Do hover hit-test |
|
|
OnBeginHover ( |
Initialize hover sequence at given position |
|
|
OnEndHover() |
Terminate active hover sequence |
|
|
OnUpdateHover ( |
Update active hover sequence with new input position |