Navigation
Unreal Engine C++ API Reference > Plugins > MeshModelingToolsEditorOnlyExp
Inheritance Hierarchy
- USingleSelectionMeshEditingTool
- IGenericDataOperatorFactory
- IInteractiveToolManageGeometrySelectionAPI
- UMeshTangentsTool
References
Module | MeshModelingToolsEditorOnlyExp |
Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/MeshTangentsTool.h |
Include | #include "MeshTangentsTool.h" |
Syntax
UCLASS ()
class UMeshTangentsTool :
public USingleSelectionMeshEditingTool ,
public UE::Geometry::IGenericDataOperatorFactory< UE::Geometry::FMeshTangentsd > ,
public IInteractiveToolManageGeometrySelectionAPI
Remarks
Simple Mesh Simplifying Tool
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bLengthDirty | |
![]() |
bool | bThicknessDirty | |
![]() |
bool | bVisibilityChanged | |
![]() |
TUniquePtr< TGenericDataBackgroundCompute< UE::Geometry::FMeshTangentsd > > | Compute | |
![]() ![]() |
TObjectPtr< UMaterialInterface > | DefaultMaterial | |
![]() |
TArray< FMikktDeviation > | Deviations | |
![]() |
TSet< int > | EditTriangles | These are indices into InputMesh. |
![]() |
TSet< int > | EditVertices | |
![]() ![]() |
TObjectPtr< UPreviewGeometry > | GeometrySelectionViz | |
![]() ![]() |
TObjectPtr< UGeometrySelectionVisualizationProperties > | GeometrySelectionVizProperties | Selection |
![]() |
TSharedPtr< UE::Geometry::FMeshTangentsf, ESPMode::ThreadSafe > | InitialTangents | |
![]() |
UE::Geometry::FGeometrySelection | InputGeometrySelection | The geometry selection that the user started the tool with. |
![]() |
TSharedPtr< UE::Geometry::FDynamicMesh3, ESPMode::ThreadSafe > | InputMesh | |
![]() |
TSharedPtr< FMeshDescription, ESPMode::ThreadSafe > | InputMeshDescription | |
![]() ![]() |
TObjectPtr< UPreviewGeometry > | PreviewGeometry | |
![]() ![]() |
TObjectPtr< UPreviewMesh > | PreviewMesh | |
![]() ![]() |
TObjectPtr< UMeshTangentsToolProperties > | Settings | |
![]() |
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. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TSet< int32 > | ||
![]() |
void | ComputeMikkTDeviations
(
const TSet< int32 >& DegenerateTris |
|
![]() |
void | CopyToOverlays
(
const UE::Geometry::FMeshTangentsd& Tangents, |
|
![]() |
void | OnTangentsUpdated
(
const TUniquePtr< UE::Geometry::FMeshTangentsd >& NewResult |
|
![]() |
void | SetGeometrySelection
(
UE::Geometry::FGeometrySelection&& SelectionIn |
Input selection support |
![]() |
void | UpdateVisualization
(
bool bThicknessChanged, |
Overridden from USingleSelectionMeshEditingTool
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | CanAccept () |
|
![]() ![]() ![]() |
bool | HasAccept () |
|
![]() ![]() ![]() |
bool | HasCancel () |
|
![]() ![]() |
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 IGenericDataOperatorFactory
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TUniquePtr< UE::Geometry::TGenericDataOperator< UE::Geometry::FMeshTangentsd > > | IGenericDataOperatorFactory API. |
Overridden from IInteractiveToolManageGeometrySelectionAPI
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | IInteractiveToolManageGeometrySelectionAPI this tool won't update external geometry selection or change selection-relevant mesh IDs. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FMikktDeviation |