Navigation
API > API/Plugins > API/Plugins/MeshModelingTools > API/Plugins/MeshModelingTools/ToolActivities
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractionMechanic
- UInteractiveToolActivity
- UPolyEditCutFacesActivity
References
| Module | MeshModelingTools |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/ToolActivities/PolyEditCutFacesActivity.h |
| Include | #include "ToolActivities/PolyEditCutFacesActivity.h" |
Syntax
UCLASS&40;&41;
class UPolyEditCutFacesActivity :
public UInteractiveToolActivity,
public IClickBehaviorTarget,
public IHoverBehaviorTarget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UPolyEditActivityContext > | ActivityContext | ||
| int32 | ActivityStamp | ||
| bool | bIsRunning | ||
| FViewCameraState | CameraState | ||
| TObjectPtr< UPolyEditCutProperties > | CutProperties | ||
| TObjectPtr< UPolyEditPreviewMesh > | EditPreview | ||
| TObjectPtr< UCollectSurfacePathMechanic > | SurfacePathMechanic |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| 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()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 |