Navigation
API > API/Plugins > API/Plugins/MeshPartitionModelingToolset
UToolTarget specialization that supports viewing megamesh modifiers by extracting the mesh as it exists after the modifier is applied
| Name | UModifierToolTarget |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionModelingToolset/Public/MeshPartitionModifierToolTarget.h |
| Include Path | #include "MeshPartitionModifierToolTarget.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UModifierToolTarget :
public USceneComponentToolTarget ,
public IDynamicMeshProvider ,
public IMaterialProvider ,
public IPhysicsDataSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UToolTarget → USceneComponentToolTarget → UModifierToolTarget
Implements Interfaces
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TWeakObjectPtrKeyMap | TMap< KeyType, ValueType, FDefaultSetAllocator, TWeakObjectPtrMapKeyFuncs< KeyType, ValueType > > | MeshPartitionModifierToolTarget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HiddenBaseSections | TArray< TWeakObjectPtr< MeshPartition::UMeshProviderModifier > > | When using SetOwnerVisibility, we hide all base sections that were entangled with our preview sections. | MeshPartitionModifierToolTarget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConfigurePreviewForRendering
(
UPrimitiveComponent* PrimitiveComponent |
MeshPartitionModifierToolTarget.h | ||
void Initialize
(
MeshPartition::UModifierComponent* ModifierComponent |
MeshPartitionModifierToolTarget.h | ||
void UpdateRenderTextureForPreview
(
const Geometry::FDynamicMesh3& PreviewMesh |
MeshPartitionModifierToolTarget.h |
Public Virtual
Overridden from UToolTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsValid() |
UToolTarget. | MeshPartitionModifierToolTarget.h |
Overridden from ISceneComponentBackedTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetOwnerVisibility
(
bool bInVisible |
USceneComponentToolTarget. | MeshPartitionModifierToolTarget.h |
Overridden from IDynamicMeshProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual Geometry::FDynamicMesh3 GetDynamicMesh() |
IDynamicMeshProvider implementation. | MeshPartitionModifierToolTarget.h |
Overridden from IMaterialProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CommitMaterialSetUpdate
(
const FComponentMaterialSet& InMaterialSet, |
MeshPartitionModifierToolTarget.h | ||
virtual UMaterialInterface * GetMaterial
(
int32 InMaterialIndex |
MeshPartitionModifierToolTarget.h | ||
virtual void GetMaterialSet
(
FComponentMaterialSet& OutMaterialSet, |
MeshPartitionModifierToolTarget.h | ||
virtual int32 GetNumMaterials() |
IMaterialProvider implementation. | MeshPartitionModifierToolTarget.h |
Overridden from IPhysicsDataSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UBodySetup * GetBodySetup() |
IPhysicsDataSource implementation. | MeshPartitionModifierToolTarget.h | |
virtual IInterface_CollisionDataProvider * GetComplexCollisionProvider() |
MeshPartitionModifierToolTarget.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildModifiedMeshUpToTarget
(
Geometry::FDynamicMesh3& OutResultMesh, |
MeshPartitionModifierToolTarget.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< Geometry::FOrientedBox3d > GetBounds() |
MeshPartitionModifierToolTarget.h | ||
virtual TArray< MeshPartition::UModifierComponent * > GetModifiersToProcess() |
MeshPartitionModifierToolTarget.h |