Navigation
API > API/Plugins > API/Plugins/MeshModelingTools > API/Plugins/MeshModelingTools/ToolActivities
Inheritance Hierarchy
- UObject
- UInteractionMechanic
- UInteractiveToolActivity
- UPolyEditInsetOutsetActivity
References
| Module | MeshModelingTools |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/ToolActivities/PolyEditInsetOutsetActivity.h |
| Include | #include "ToolActivities/PolyEditInsetOutsetActivity.h" |
Syntax
UCLASS ()
class UPolyEditInsetOutsetActivity :
public UInteractiveToolActivity ,
public IClickBehaviorTarget ,
public IHoverBehaviorTarget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UPolyEditActivityContext > | ActivityContext | ||
| bool | bIsRunning | ||
| bool | bPreviewUpdatePending | ||
| TObjectPtr< USpatialCurveDistanceMechanic > | CurveDistMechanic | ||
| TObjectPtr< UPolyEditPreviewMesh > | EditPreview | ||
| TObjectPtr< UPolyEditInsetOutsetProperties > | Settings | ||
| float | UVScaleFactor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyInset () |
||
| bool | BeginInset () |
||
| void | Clear () |
Overridden from UInteractiveToolActivity
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
If true, calling End with EToolShutdownType::Accept will result in a valid completion of the activity. | |
| bool | CanStart () |
Check whether a Start() call will result in a success. | |
| EToolActivityEndResult | End
(
EToolShutdownType |
Force an end to the activity. | |
| bool | IsRunning () |
Check whether the activity is running (though the tool can just check the result of Start() itself). | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Should be called during a tool's Shutdown() | |
| EToolActivityStartResult | Start () |
Attempt to start the activity. |
Overridden from UInteractionMechanic
| Type | Name | Description | |
|---|---|---|---|
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
If the activity is running, should be called from the tool's Render() | |
| void | Setup
(
UInteractiveTool* ParentTool |
IInteractiveToolActivity. | |
| void | Tick
(
float DeltaTime |
If the activity is running, should be called from the tool's OnTick() |
Overridden from IClickBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | IsHitByClick
(
const FInputDeviceRay& ClickPos |
IClickBehaviorTarget API. | |
| void | OnClicked
(
const FInputDeviceRay& ClickPos |
Notify Target that click ocurred |
Overridden from IHoverBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | BeginHoverSequenceHitTest
(
const FInputDeviceRay& PressPos |
IHoverBehaviorTarget implementation. | |
| void | OnBeginHover
(
const FInputDeviceRay& DevicePos |
Initialize hover sequence at given position | |
| void | OnEndHover () |
Terminate active hover sequence | |
| bool | OnUpdateHover
(
const FInputDeviceRay& DevicePos |
Update active hover sequence with new input position |