|
|
virtual FInputRayHit | BeginHoverSequenceHitTest (const FInputDeviceRay &PressPos) override |
| | Do hover hit-test
|
| |
| virtual FInputRayHit | CanBeginClickDragSequence (const FInputDeviceRay &PressPos) override |
| | Test if target can begin click-drag interaction at this point 更多...
|
| |
| virtual bool | GetCtrlToggle () const |
| |
| virtual float | GetCurrentDevicePressure () const |
| |
| virtual bool | GetShiftToggle () const |
| |
| virtual bool | HitTest (const FRay &Ray, FHitResult &OutHit) |
| |
|
virtual void | OnBeginDrag (const FRay &Ray) |
| | This function is called when the user begins a click-drag-release interaction
|
| |
|
virtual void | OnBeginHover (const FInputDeviceRay &DevicePos) override |
| | Initialize hover sequence at given position
|
| |
| virtual void | OnClickDrag (const FInputDeviceRay &DragPos) override |
| | Notify Target that input position has changed 更多...
|
| |
| virtual void | OnClickPress (const FInputDeviceRay &PressPos) override |
| | Notify Target that click press ocurred 更多...
|
| |
| virtual void | OnClickRelease (const FInputDeviceRay &ReleasePos) override |
| | Notify Target that click release occurred 更多...
|
| |
|
virtual void | OnEndDrag (const FRay &Ray) |
| | This function is called when the user releases the button driving a click-drag-release interaction
|
| |
|
virtual void | OnEndHover () override |
| | Terminate active hover sequence
|
| |
|
virtual void | OnTerminateDragSequence () override |
| | Notify Target that click-drag sequence has been explicitly terminated (eg by escape key)
|
| |
|
virtual void | OnUpdateDrag (const FRay &Ray) |
| | This function is called each frame that the user is in a click-drag-release interaction
|
| |
|
virtual bool | OnUpdateHover (const FInputDeviceRay &DevicePos) override |
| | Update active hover sequence with new input position
|
| |
| virtual void | OnUpdateModifierState (int ModifierID, bool bIsOn) override |
| | Notify target of current modifier state 更多...
|
| |
|
virtual void | SetCtrlToggle (bool bCtrlDown) |
| | Called by registered InputBehaviors to set the state of the "shift" button (or device equivalent)
|
| |
|
virtual void | SetShiftToggle (bool bShiftDown) |
| | Called by registered InputBehaviors to set the state of the "shift" button (or device equivalent)
|
| |
|
virtual void | SetStylusAPI (IToolStylusStateProviderAPI *StylusAPI) |
| | Set current stlyus API source
|
| |
|
virtual void | Setup () override |
| | Register InputBehaviors, etc
|
| |
| virtual FInputRayHit | CanBeginClickDragSequence (const FInputDeviceRay &PressPos)=0 |
| | Test if target can begin click-drag interaction at this point 更多...
|
| |
| virtual void | OnClickDrag (const FInputDeviceRay &DragPos)=0 |
| | Notify Target that input position has changed 更多...
|
| |
| virtual void | OnClickPress (const FInputDeviceRay &PressPos)=0 |
| | Notify Target that click press ocurred 更多...
|
| |
| virtual void | OnClickRelease (const FInputDeviceRay &ReleasePos)=0 |
| | Notify Target that click release occurred 更多...
|
| |
|
virtual void | OnTerminateDragSequence ()=0 |
| | Notify Target that click-drag sequence has been explicitly terminated (eg by escape key)
|
| |
| virtual void | OnUpdateModifierState (int ModifierID, bool bIsOn) |
| | Notify target of current modifier state 更多...
|
| |
|
virtual FInputRayHit | BeginHoverSequenceHitTest (const FInputDeviceRay &PressPos)=0 |
| | Do hover hit-test
|
| |
|
virtual void | OnBeginHover (const FInputDeviceRay &DevicePos)=0 |
| | Initialize hover sequence at given position
|
| |
|
virtual void | OnEndHover ()=0 |
| | Terminate active hover sequence
|
| |
|
virtual bool | OnUpdateHover (const FInputDeviceRay &DevicePos)=0 |
| | Update active hover sequence with new input position
|
| |
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.