|
|
virtual void | OnBeginDrag (const FRay &Ray) override |
| | This function is called when the user begins a click-drag-release interaction
|
| |
|
virtual void | OnEndDrag (const FRay &Ray) override |
| | This function is called when the user releases the button driving a click-drag-release interaction
|
| |
| virtual void | OnPropertyModified (UObject *PropertySet, FProperty *Property) override |
| | Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes 更多...
|
| |
|
virtual void | OnUpdateDrag (const FRay &Ray) override |
| | 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 | RegisterActions (FInteractiveToolActionSet &ActionSet) override |
| | Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction. 更多...
|
| |
| virtual void | Render (IToolsContextRenderAPI *RenderAPI) override |
| | Allow the Tool to do any custom drawing (ie via PDI/RHI) 更多...
|
| |
|
virtual void | Setup () override |
| | Register InputBehaviors, etc
|
| |
| virtual void | Shutdown (EToolShutdownType ShutdownType) override |
| | Called by ToolManager to shut down the Tool 更多...
|
| |
|
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
|
| |
UBaseBrushTool implements standard brush-style functionality for an InteractiveTool.
This includes: 1) brush radius property set with dimension-relative brush sizing and default brush radius hotkeys 2) brush indicator visualization 3) tracking of last brush stamp location via .LastBrushStamp FProperty 4) status of brush stroke via .bInBrushStroke FProperty