Navigation
API > API/Plugins > API/Plugins/MeshLODToolset > API/Plugins/MeshLODToolset/Tools
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- UMultiSelectionTool
- UMultiSelectionMeshEditingTool
- ULODManagerTool
References
| Module | MeshLODToolset |
| Header | /Engine/Plugins/Editor/MeshLODToolset/Source/MeshLODToolset/Public/Tools/LODManagerTool.h |
| Include | #include "Tools/LODManagerTool.h" |
Syntax
UCLASS ()
class ULODManagerTool :
public UMultiSelectionMeshEditingTool ,
public ILODManagerToolChangeTarget
Remarks
Mesh Attribute Editor Tool
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< UE::Geometry::LODManagerHelper::FLODManagerToolChange > | ActiveChange | For undo / redo system with our custom changes. | |
| TMap< FString, FLODName > | ActiveLODNames | Maps pretty name in UI to description of the LOD | |
| bool | bLODInfoValid | ||
| bool | bPreviewLODValid | ||
| TUniquePtr< UE::Geometry::LODManagerHelper::FDynamicMeshLODCache > | DynamicMeshCache | Cache of dynamic mesh representation for each lod, imported and renderdata. | |
| TObjectPtr< ULODManagerHiResSourceModelActions > | HiResSourceModelActions | ||
| TObjectPtr< ULODManagerLODProperties > | LODInfoProperties | ||
| TObjectPtr< UPreviewMesh > | LODPreview | ||
| TObjectPtr< UPreviewGeometry > | LODPreviewLines | ||
| TObjectPtr< ULODManagerPreviewLODProperties > | LODPreviewProperties | ||
| TObjectPtr< ULODManagerMaterialActions > | MaterialActions | ||
| ELODManagerToolActions | PendingAction | ||
| TUniquePtr< UE::Geometry::LODManagerHelper::FProxyLODState > | ProxyLODState | State information used for undo within the tool |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginChange
(
FText TransactionName |
||
| void | |||
| void | |||
| void | EndChange () |
||
| TUniquePtr< ULODManagerTool::FLODMeshInfo > | GetLODMeshInfo
(
const FLODName& LODName |
Returns the requested LOD as a dynamic mesh along with boundary edges. Has internal cache | |
| UStaticMesh * | |||
| void | |||
| void | |||
| void | RequestAction
(
ELODManagerToolActions ActionType |
||
| void | Captures the material list and triangle and vertex counts for the current configuration of lods | ||
| void | |||
| void | UpdatePreviewLines
(
FLODMeshInfo& LODMeshInfo |
||
| void |
Overridden from UMultiSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| 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 ILODManagerToolChangeTarget
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyChange
(
const UE::Geometry::LODManagerHelper::FLODManagerToolChange* Change, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FLODMeshInfo | |||
| FLODName |