URemoveOccludedTrianglesTool

Simple Mesh Normal Updating Tool

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsExp

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/RemoveOccludedTrianglesTool.h

Include

#include "RemoveOccludedTrianglesTool.h"

Syntax

UCLASS()
class URemoveOccludedTrianglesTool : public UMultiSelectionMeshEditingTool

Remarks

Simple Mesh Normal Updating Tool

Variables

Name Description

Protected variable UProperty

TObjectPtr< URe...

 

AdvancedProperties

Protected variable UProperty

TObjectPtr< URe...

 

BasicProperties

Protected variable

FViewCameraStat...

 

CameraState

Protected variable

TArray< int32 >

 

OccludedGroupIDs

Group IDs for occluded triangles, per mesh in the Previews array, if OccludedAction is SetNewGroup.

Protected variable

TArray< int32 >

 

OccludedGroupLayers

Selected layer indices for Group IDs, per mesh in the Previews array.

Protected variable

TArray< UE::Geo...

 

OccluderTransforms

Protected variable

TArray< TShared...

 

OccluderTrees

AABB trees and winding trees for every mesh target, with repeated instances as pointers to the same data.

Protected variable

TArray< TShared...

 

OccluderWindings

Protected variable

TArray< TShared...

 

OriginalDynamicMeshes

Protected variable UProperty

TObjectPtr< UPo...

 

PolygroupLayersProperties

Protected variable UProperty

TArray< TObject...

 

PreviewCopies

When multiple meshes in the selection correspond to the same asset, only one needs a PreviewWithBackgroundCompute all others just get a plain PreviewMesh copy that is updated via OnMeshUpdated broadcast from the source Preview

Protected variable UProperty

TArray< TObject...

 

Previews

Protected variable

TArray< TArray<...

 

PreviewToCopyIdx

Protected variable

TArray< int32 >

 

PreviewToTargetIdx

Protected variable

TArray< int32 >

 

TargetToPreviewIdx

Public variable

friend

 

URemoveOccludedTrianglesOperatorFactory

Constructors

Functions

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

CanAccept()

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

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

 

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 UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally