Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/BaseDynamicMeshComponent.h |
Include |
#include "BaseDynamicMeshComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(HideCategories=(LOD, Physics, Collision), EditInlineNew, ClassGroup=Rendering)
class UBaseDynamicMeshComponent :
public UMeshComponent,
public IToolFrameworkComponent,
public IMeshVertexCommandChangeTarget,
public IMeshCommandChangeTarget,
public IMeshReplacementCommandChangeTarget
UBaseDynamicMeshComponent is a base interface for a UMeshComponent based on a FDynamicMesh. Currently no functionality lives here, only some interface functions are defined that various subclasses implement.
Name | Description | ||
---|---|---|---|
|
BaseMaterials |
||
|
bDrawSecondaryBuffers |
||
|
OverrideRenderMaterial |
||
|
SecondaryRenderMaterial |
Name | Description | |
---|---|---|
|
UBaseDynamicMeshComponent ( |
Name | Description | ||
---|---|---|---|
|
ApplyTransform ( |
Modification support |
|
|
Bake ( |
Write the internal mesh to a MeshDescription |
|
|
ClearOverrideRenderMaterial() |
Clear any active override render material |
|
|
ClearSecondaryRenderMaterial() |
Clear any active override render material |
|
|
EnableWireframeRenderPass() |
||
|
FDynamicMesh... |
GetMesh() |
|
|
const FDynam... |
GetMesh() |
|
|
UMaterialInt... |
GetOverrideRenderMaterial ( |
|
|
GetSecondaryBuffersVisibility() |
||
|
UMaterialInt... |
GetSecondaryRenderMaterial() |
|
|
HasOverrideRenderMaterial ( |
||
|
HasSecondaryRenderMaterial() |
||
|
InitializeMesh ( |
Initialize the internal mesh from a MeshDescription |
|
|
NotifyMaterialSetUpdated() |
Subclass must implement this to notify allocated proxies of updated materials |
|
|
NotifyMeshUpdated() |
Call this if you update the mesh via GetMesh() |
|
|
SetEnableWireframeRenderPass ( |
Configure whether wireframe rendering is enabled or not |
|
|
SetOverrideRenderMaterial ( |
Override rendering material support Set an active override render material. |
|
|
SetSecondaryBuffersVisibility ( |
Show/Hide the secondary triangle buffers. Does not invalidate SceneProxy. |
|
|
SetSecondaryRenderMaterial ( |
Secondary buffer support Set an active override render material. |
Name | Description | ||
---|---|---|---|
|
UMaterialInt... |
GetMaterial ( |
Returns the material used by the element at the specified index |
|
GetNumMaterials() |
Return number of material elements in this primitive |
|
|
GetUsedMaterials ( |
Retrieves the materials used in this component |
|
|
SetMaterial ( |
Changes the material applied to an element of the mesh. |
Name | Description | ||
---|---|---|---|
|
ApplyChange ( |
Apply a vertex deformation change to the internal mesh (implements IMeshVertexCommandChangeTarget) |
Name | Description | ||
---|---|---|---|
|
ApplyChange ( |
Apply a general mesh change to the internal mesh (implements IMeshCommandChangeTarget) |
Name | Description | ||
---|---|---|---|
|
ApplyChange ( |
Apply a full mesh replacement change to the internal mesh (implements IMeshReplacementCommandChangeTarget) |