Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
| Name | UMeshSelectionTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/MeshSelectionTool.h |
| Include Path | #include "MeshSelectionTool.h" |
Syntax
UCLASS (MinimalAPI)
class UMeshSelectionTool :
public UDynamicMeshBrushTool ,
public IInteractiveToolNestedAcceptCancelAPI
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveTool → USingleSelectionTool → UMeshSurfacePointTool → UBaseBrushTool → UDynamicMeshBrushTool → UMeshSelectionTool
Implements Interfaces
- IClickDragBehaviorTarget
- IModifierToggleBehaviorTarget
- IHoverBehaviorTarget
- IInputBehaviorSource
- IInteractiveToolCameraFocusAPI
- IInteractiveToolNestedAcceptCancelAPI
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMeshSelectionTool() |
MeshSelectionTool.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EditActions | TObjectPtr< UMeshSelectionToolActionPropertySet > | MeshSelectionTool.h | ||
| MeshElementsDisplay | TObjectPtr< UMeshElementsVisualizer > | MeshSelectionTool.h | ||
| MeshStatisticsProperties | TObjectPtr< UMeshStatisticsProperties > | MeshSelectionTool.h | ||
| PolygroupLayerProperties | TObjectPtr< UPolygroupLayersProperties > | MeshSelectionTool.h | ||
| SelectionActions | TObjectPtr< UMeshSelectionEditActions > | MeshSelectionTool.h | ||
| SelectionProps | TObjectPtr< UMeshSelectionToolProperties > | MeshSelectionTool.h | ||
| UVChannelProperties | TObjectPtr< UMeshUVChannelProperties > | MeshSelectionTool.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RequestAction
(
EMeshSelectionToolActions ActionType |
MeshSelectionTool.h | ||
virtual void SetGeometrySelection
(
UE::Geometry::FGeometrySelection&& SelectionIn |
Input selection support | MeshSelectionTool.h | |
virtual void SetWorld
(
UWorld* World |
MeshSelectionTool.h |
Overridden from UMeshSurfacePointTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool HitTest
(
const FRay& Ray, |
MeshSelectionTool.h | ||
virtual void OnBeginDrag
(
const FRay& Ray |
MeshSelectionTool.h | ||
virtual void OnEndDrag
(
const FRay& Ray |
MeshSelectionTool.h | ||
virtual void OnUpdateDrag
(
const FRay& Ray |
MeshSelectionTool.h |
Overridden from UInteractiveTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanAccept() |
Virtual bool CanAccept() const override { return Super::CanAccept() && bHaveModifiedMesh; } | MeshSelectionTool.h | |
virtual bool HasAccept() |
MeshSelectionTool.h | ||
virtual bool HasCancel() |
MeshSelectionTool.h | ||
virtual void OnTick
(
float DeltaTime |
MeshSelectionTool.h | ||
virtual void RegisterActions
(
FInteractiveToolActionSet& ActionSet |
MeshSelectionTool.h | ||
virtual void Render
(
IToolsContextRenderAPI* RenderAPI |
MeshSelectionTool.h | ||
virtual void Setup() |
MeshSelectionTool.h |
Overridden from IInteractiveToolCameraFocusAPI
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FBox GetWorldSpaceFocusBox() |
IInteractiveToolCameraFocusAPI implementation. | MeshSelectionTool.h |
Overridden from IHoverBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool OnUpdateHover
(
const FInputDeviceRay& DevicePos |
MeshSelectionTool.h |
Overridden from IInteractiveToolNestedAcceptCancelAPI
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCurrentlyNestedCancel() |
MeshSelectionTool.h | ||
virtual bool ExecuteNestedCancelCommand() |
MeshSelectionTool.h | ||
virtual bool SupportsNestedCancelCommand() |
IInteractiveToolCancelAPI. | MeshSelectionTool.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddSubclassPropertySets() |
MeshSelectionTool.h | ||
virtual void ApplyAction
(
EMeshSelectionToolActions ActionType |
MeshSelectionTool.h | ||
virtual void ApplyShutdownAction
(
EToolShutdownType ShutdownType |
MeshSelectionTool.h | ||
virtual void ApplyStamp
(
const FBrushStampData& Stamp |
MeshSelectionTool.h | ||
void AssignNewGroupToSelectedTriangles() |
MeshSelectionTool.h | ||
void BeginChange
(
bool bAdding |
MeshSelectionTool.h | ||
void CacheUVIslandIDs() |
MeshSelectionTool.h | ||
void CalculateTriangleROI
(
const FBrushStampData& Stamp, |
MeshSelectionTool.h | ||
void CalculateVertexROI
(
const FBrushStampData& Stamp, |
MeshSelectionTool.h | ||
void CancelChange() |
MeshSelectionTool.h | ||
void ClearSelection() |
MeshSelectionTool.h | ||
virtual UMeshSelectionToolActionPropertySet * CreateEditActions() |
MeshSelectionTool.h | ||
void DeleteSelectedTriangles() |
MeshSelectionTool.h | ||
void DisconnectSelectedTriangles() |
MeshSelectionTool.h | ||
TUniquePtr< FToolCommandChange > EndChange() |
MeshSelectionTool.h | ||
void ExpandToConnected() |
MeshSelectionTool.h | ||
void FlipSelectedTriangles() |
MeshSelectionTool.h | ||
FColor GetCurrentFaceColor
(
const FDynamicMesh3* Mesh, |
MeshSelectionTool.h | ||
TUniquePtr< UE::Geometry::FDynamicMeshOctree3 > & GetOctree() |
MeshSelectionTool.h | ||
void GrowShrinkSelection
(
bool bGrow |
MeshSelectionTool.h | ||
void InvertSelection() |
MeshSelectionTool.h | ||
void OnExternalSelectionChange() |
MeshSelectionTool.h | ||
void OnRegionHighlightUpdated () |
MeshSelectionTool.h | ||
void OnRegionHighlightUpdated
(
const TArray< int32 >& Triangles |
MeshSelectionTool.h | ||
void OnRegionHighlightUpdated
(
const TSet< int32 >& Triangles |
MeshSelectionTool.h | ||
void OnSelectedGroupLayerChanged() |
MeshSelectionTool.h | ||
void OptimizeSelection() |
MeshSelectionTool.h | ||
void SelectAll() |
MeshSelectionTool.h | ||
void SelectAllByMaterial() |
MeshSelectionTool.h | ||
void SelectLargestComponent
(
bool bWeightByArea |
MeshSelectionTool.h | ||
void SeparateSelectedTriangles
(
bool bDeleteSelected |
MeshSelectionTool.h | ||
void SmoothSelectionBoundary() |
MeshSelectionTool.h | ||
void UpdateActiveGroupLayer() |
MeshSelectionTool.h | ||
void UpdateFaceSelection
(
const FBrushStampData& Stamp, |
MeshSelectionTool.h | ||
void UpdateVisualization
(
bool bSelectionModified |
MeshSelectionTool.h |
Overridden from UDynamicMeshBrushTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnShutdown
(
EToolShutdownType ShutdownType |
MeshSelectionTool.h |