Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
A modifier that implements this interface may be reused by code that manages modifiers.
Notably, it can be reused by PCG elements that make use of UE::MeshPartition::Utils::GetPCGManagedMegaMeshModifier.
| Name | ICodeReusableModifier |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/Modifiers/CodeReusableMeshPartitionModifierInterface.h |
| Include Path | #include "Modifiers/CodeReusableMeshPartitionModifierInterface.h" |
Syntax
class ICodeReusableModifier
Derived Classes
ICodeReusableModifier derived class hierarchy
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsUsed() |
Can be called to determine whether this reusable modifier ended up actually being used, so that it can be cleaned up by its managing system if not. | Modifiers/CodeReusableMeshPartitionModifierInterface.h | |
void ResetForReuse() |
Called to prep the modifier for reinitializing with entirely different data. | Modifiers/CodeReusableMeshPartitionModifierInterface.h | |
void SetDisabledByCode
(
bool bDisabledIn |
Used by code to temporarily deactive the modifier. | Modifiers/CodeReusableMeshPartitionModifierInterface.h |