Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseTools/BaseBrushTool.h |
Include |
#include "BaseTools/BaseBrushTool.h" |
class UBaseBrushTool : public UMeshSurfacePointTool
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
Name | Description | ||
---|---|---|---|
|
bInBrushStroke |
Set to true by Tool if user is currently in an active brush stroke |
|
|
BrushProperties |
Properties that control brush size/etc |
|
|
TInterval< floa... |
BrushRelativeSizeRange |
|
|
BrushStampIndicator |
Brush Indicator support |
|
|
double |
CurrentBrushRadius |
|
|
LastBrushStamp |
Position of brush at last update (both during stroke and during Hover) |
|
|
TSoftClassPtr< ... |
PropertyClass |
Name | Description | |
---|---|---|
|
UBaseBrushTool() |
Name | Description | ||
---|---|---|---|
|
DecreaseBrushFalloffAction() |
||
|
DecreaseBrushSizeAction() |
||
|
DecreaseBrushStrengthAction() |
||
|
double |
EstimateMaximumTargetDimension() |
Subclasses should implement this to give an estimate of target dimension for brush size scaling |
|
IncreaseBrushFalloffAction() |
||
|
IncreaseBrushSizeAction() |
||
|
IncreaseBrushStrengthAction() |
||
|
IsInBrushStroke() |
||
|
RecalculateBrushRadius() |
||
|
SetupBrushStampIndicator() |
||
|
ShutdownBrushStampIndicator() |
||
|
UpdateBrushStampIndicator() |
Name | Description | ||
---|---|---|---|
|
OnBeginDrag ( |
UMeshSurfacePointTool implementation |
|
|
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 |
Name | Description | ||
---|---|---|---|
|
OnPropertyModified |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes |
|
|
RegisterActions ( |
Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction. |
|
|
Render ( |
Allow the Tool to do any custom drawing (ie via PDI/RHI) |
|
|
Setup() |
Register InputBehaviors, etc |
|
|
Shutdown ( |
Called by ToolManager to shut down the Tool |
|
|
Tick ( |
Allow the Tool to do any necessary processing on Tick |
Name | Description | ||
---|---|---|---|
|
OnUpdateHover ( |
Update active hover sequence with new input position |