Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- UMultiSelectionTool
- UMultiSelectionMeshEditingTool
- UEditNormalsTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/EditNormalsTool.h |
| Include | #include "EditNormalsTool.h" |
Syntax
UCLASS ()
class UEditNormalsTool :
public UMultiSelectionMeshEditingTool ,
public IInteractiveToolManageGeometrySelectionAPI
Remarks
Simple Mesh Normal Updating Tool
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< UE::Geometry::FPolygroupSet, ESPMode::ThreadSafe > | ActiveGroupSet | ||
| TObjectPtr< UEditNormalsToolProperties > | BasicProperties | ||
| FViewCameraState | CameraState | ||
| TSet< int > | EditTriangles | These are indices into the tool target mesh. | |
| TSet< int > | EditVertices | ||
| TObjectPtr< UPreviewGeometry > | GeometrySelectionViz | ||
| TObjectPtr< UGeometrySelectionVisualizationProperties > | GeometrySelectionVizProperties | Selection. Only used when the tool is run with one target | |
| UE::Geometry::FGeometrySelection | InputGeometrySelection | The geometry selection that the user started the tool with. | |
| TSharedPtr< UE::Geometry::FPolygroupSet, ESPMode::ThreadSafe > | InputGeometrySelectionPolygroupSet | Cache the input polygroup set which was used to start the tool. | |
| TArray< TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > > | OriginalDynamicMeshes | ||
| TObjectPtr< UPolygroupLayersProperties > | PolygroupLayerProperties | ||
| TArray< TObjectPtr< UMeshOpPreviewWithBackgroundCompute > > | Previews | ||
| UE::Geometry::FGeometrySelection | TriangleVertexGeometrySelection | If the user starts the tool with an edge selection we convert it to a vertex selection with triangle topology and store it here, we do this since we expect users to want vertex and edge selections to behave similarly. | |
| friend | UEditNormalsOperatorFactory |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GenerateAsset
(
const TArray< FDynamicMeshOpResult >& Results |
||
| void | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | SetGeometrySelection
(
UE::Geometry::FGeometrySelection&& SelectionIn |
Input selection support | |
| void | |||
| void |
Overridden from UMultiSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| 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 | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |
Overridden from IInteractiveToolManageGeometrySelectionAPI
| Type | Name | Description | |
|---|---|---|---|
| bool | IInteractiveToolManageGeometrySelectionAPI this tool won't update external geometry selection or change selection-relevant mesh IDs. |