URevolveBoundaryTool

Tool that revolves the boundary of a mesh around an axis to create a new mesh.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

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

Name Description

Protected variable

bool

 

bAlignAxisOnClick

Protected variable

bool

 

bMoveAxisOnClick

Support for Ctrl+(Shift+)Clicking a boundary to align the revolution axis to that segment.

Protected variable

int32

 

CtrlModifier

Protected variable UProperty

TObjectPtr< UNe...

 

MaterialProperties

Protected variable UProperty

TObjectPtr< UCr...

 

OutputTypeProperties

Property set for type of output object (StaticMesh, Volume, etc)

Protected variable UProperty

TObjectPtr< UCo...

 

PlaneMechanic

Protected variable UProperty

TObjectPtr< UMe...

 

Preview

Protected variable

FVector3d

 

RevolutionAxisDirection

Protected variable

FVector3d

 

RevolutionAxisOrigin

Protected variable UProperty

TObjectPtr< URe...

 

Settings

Protected variable

int32

 

ShiftModifier

Functions

Name Description

Protected function

void

 

GenerateAsset

(
    const FDynamicMeshOpResult& Result
)

Protected function

void

 

StartPreview()

Protected function

void

 

UpdateRevolutionAxis()

Uses the settings stored in the properties object to update the revolution axis

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

CanAccept()

Public function Virtual

void

 

OnPropertyModified

(
    UObject* PropertySet,
    FProperty* Property
)

Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes

Public function Virtual

void

 

OnTick

(
    float DeltaTime
)

Action support/system

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Tool to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup()

Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool

Overridden from IClickBehaviorTarget

Name Description

Protected function Virtual

FInputRayHit

 

IsHitByClick

(
    const FInputDeviceRay& ClickPos
)

IClickBehaviorTarget API.

Protected function Virtual

void

 

OnClicked

(
    const FInputDeviceRay& ClickPos
)

Notify Target that click ocurred

Overridden from IModifierToggleBehaviorTarget

Name Description

Public function Virtual

void

 

OnUpdateModifierState

(
    int ModifierID,
    bool bIsOn
)

Notify target of current modifier state