URevolveBoundaryTool

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/RevolveBoundaryTool.h

Include

#include "RevolveBoundaryTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class URevolveBoundaryTool : public UMeshBoundaryToolBase

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

int32

 

AlignAxisModifier

Protected variable

IToolsContextAs...

 

AssetAPI

Protected variable

bool

 

bAlignAxisOnClick

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

Protected variable UProperty

UNewMeshMateria...

 

MaterialProperties

Protected variable UProperty

UConstructionPl...

 

PlaneMechanic

Protected variable UProperty

UMeshOpPreviewW...

 

Preview

Protected variable

FVector3d

 

RevolutionAxisDirection

Protected variable

FVector3d

 

RevolutionAxisOrigin

Protected variable UProperty

URevolveBoundar...

 

Settings

Functions

Name Description

Protected function

void

 

GenerateAsset

(
    const FDynamicMeshOpResult& Result
)

Public function Virtual

void

 

SetAssetAPI

(
    IToolsContextAssetAPI* NewAsse...
)

Protected function

void

 

StartPreview()

Protected function

void

 

UpdateRevolutionAxis()

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

Overridden from UMeshBoundaryToolBase

Name Description

Protected function Virtual Const

bool

 

ShouldSelectionAppend()

Override in the child to determine whether new selection should attempt to append.

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

void

 

OnClicked

(
    const FInputDeviceRay& ClickPos
)

This may need overriding, depending on the child class, though the child could also just override OnSelectionChanged().

Overridden from IModifierToggleBehaviorTarget

Name Description

Public function Virtual

void

 

OnUpdateModifierState

(
    int ModifierID,
    bool bIsOn
)

Notify target of current modifier state

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss