Navigation
API > API/Plugins > API/Plugins/MeshModelingTools > API/Plugins/MeshModelingTools/ToolActivities
Inheritance Hierarchy
- UInteractiveToolActivity
- IDynamicMeshOperatorFactory
- IClickBehaviorTarget
- IHoverBehaviorTarget
- UPolyEditExtrudeActivity
References
| Module | MeshModelingTools |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/ToolActivities/PolyEditExtrudeActivity.h |
| Include | #include "ToolActivities/PolyEditExtrudeActivity.h" |
Syntax
UCLASS ()
class UPolyEditExtrudeActivity :
public UInteractiveToolActivity ,
public UE::Geometry::IDynamicMeshOperatorFactory ,
public IClickBehaviorTarget ,
public IHoverBehaviorTarget
Variables
| Type | Name | Description | |
|---|---|---|---|
| UE::Geometry::FGroupTopologySelection | ActiveSelection | ||
| UE::Geometry::FFrame3d | ActiveSelectionFrameWorld | ||
| TObjectPtr< UPolyEditActivityContext > | ActivityContext | ||
| bool | bIsRunning | ||
| bool | bRequestedApply | ||
| TObjectPtr< UPlaneDistanceFromHitMechanic > | ExtrudeHeightMechanic | ||
| FExtrudeOp::EExtrudeMode | ExtrudeMode | Set to different values depending on whether we're using this activity on behalf of extrude, offset, or push/pull | |
| TObjectPtr< UPolyEditExtrudeProperties > | ExtrudeProperties | ||
| TArray< int32 > | NewSelectionGids | ||
| TObjectPtr< UPolyEditOffsetProperties > | OffsetProperties | ||
| TSharedPtr< UE::Geometry::FDynamicMesh3 > | PatchMesh | ||
| EPropertySetToUse | PropertySetToUse | ||
| TObjectPtr< UPolyEditPushPullProperties > | PushPullProperties | ||
| float | UVScaleFactor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyExtrude () |
||
| void | BeginExtrude () |
||
| void | EndInternal () |
||
| FVector3d | |||
| void |
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 | HasAccept () |
Similar to a tool, this determines whether the activity prefers an accept/cancel option to be displayed (if true) vs a "complete". | |
| 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 IDynamicMeshOperatorFactory
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< UE::Geometry::FDynamicMeshOperator > | IDynamicMeshOperatorFactory. |
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 |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EPropertySetToUse |
Typedefs
| Name | Description |
|---|---|
| FExtrudeOp |