Navigation
API > API/Plugins > API/Plugins/MeshModelingTools
FBrushToolRadius is used to define the size of 3D "brushes" used in (eg) sculpting tools. The brush size can be defined in various ways.
| Name | FBrushToolRadius |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Sculpting/MeshSculptToolBase.h |
| Include Path | #include "Sculpting/MeshSculptToolBase.h" |
Syntax
USTRUCT ()
struct FBrushToolRadius
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnablePressureSensitivity | bool | Sculpting/MeshSculptToolBase.h |
|
|
| bToolSupportsPressureSensitivity | bool | Sculpting/MeshSculptToolBase.h |
|
|
| ClampMax | Sculpting/MeshSculptToolBase.h |
|
||
| ClampMin | Sculpting/MeshSculptToolBase.h |
|
||
| DisplayName | Adaptive brush size is used to interpolate between an object-specific minimum and maximum brush size | Sculpting/MeshSculptToolBase.h |
|
|
| SizeType | EBrushToolSizeType | Specify the type of brush size currently in use | Sculpting/MeshSculptToolBase.h |
|
| UIMax | Sculpting/MeshSculptToolBase.h |
|
||
| UIMin | Sculpting/MeshSculptToolBase.h |
|
||
| WorldSizeRange | TInterval< float > | WorldSizeRange defines the min/max dimensions for Adaptive brush size | Sculpting/MeshSculptToolBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DecreaseRadius
(
bool bSmallStep |
Decrease the current radius dimension by a fixed step (or a smaller fixed step) | Sculpting/MeshSculptToolBase.h | |
float GetWorldRadius() |
Return the set/calculated world-space radius for the current settings | Sculpting/MeshSculptToolBase.h | |
void IncreaseRadius
(
bool bSmallStep |
Increase the current radius dimension by a fixed step (or a smaller fixed step) | Sculpting/MeshSculptToolBase.h | |
void InitializeWorldSizeRange
(
TInterval< float > Range, |
Util functions Set the WorldSizeRange value and optionally clamp the WorldRadius based on this new range | Sculpting/MeshSculptToolBase.h |