Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- USingleSelectionTool
- USingleSelectionMeshEditingTool
- UMeshBoundaryToolBase
- URevolveBoundaryTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/RevolveBoundaryTool.h |
| Include | #include "RevolveBoundaryTool.h" |
Syntax
UCLASS ()
class URevolveBoundaryTool :
public UMeshBoundaryToolBase ,
public IClickBehaviorTarget
Remarks
Tool that revolves the boundary of a mesh around an axis to create a new mesh. Mainly useful for revolving planar meshes.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAlignAxisOnClick | ||
| bool | bMoveAxisOnClick | Support for Ctrl+(Shift+)Clicking a boundary to align the revolution axis to that segment. | |
| int32 | CtrlModifier | ||
| TObjectPtr< UNewMeshMaterialProperties > | MaterialProperties | ||
| TObjectPtr< UCreateMeshObjectTypeProperties > | OutputTypeProperties | Property set for type of output object (StaticMesh, Volume, etc) | |
| TObjectPtr< UConstructionPlaneMechanic > | PlaneMechanic | ||
| TObjectPtr< UMeshOpPreviewWithBackgroundCompute > | Preview | ||
| FVector3d | RevolutionAxisDirection | ||
| FVector3d | RevolutionAxisOrigin | ||
| TObjectPtr< URevolveBoundaryToolProperties > | Settings | ||
| int32 | ShiftModifier |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GenerateAsset
(
const FDynamicMeshOpResult& Result |
||
| void | StartPreview () |
||
| void | Uses the settings stored in the properties object to update the revolution axis |
Overridden from USingleSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| void | OnPropertyModified
(
UObject* PropertySet, |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes | |
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |
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 IModifierToggleBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| void | OnUpdateModifierState
(
int ModifierID, |
Notify target of current modifier state |