| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/SimpleDynamicMeshComponent.h |
Include |
#include "SimpleDynamicMeshComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(HideCategories=(LOD, Physics, Collision), EditInlineNew, ClassGroup=Rendering)
class USimpleDynamicMeshComponent : public UBaseDynamicMeshComponent
USimpleDynamicMeshComponent is a mesh component similar to UProceduralMeshComponent, except it bases the renderable geometry off an internal FDynamicMesh3 instance.
There is some support for undo/redo on the component (
This component draws wireframe-on-shaded when Wireframe is enabled, or when bExplicitShowWireframe = true
Name | Description | ||
---|---|---|---|
|
bDrawOnTop |
Do not use this |
|
|
bExplicitShowWireframe |
If true, we always show the wireframe on top of the shaded mesh, even when not in wireframe mode |
|
|
FSimpleMulticas... |
OnMeshChanged |
This delegate fires when a FCommandChange is applied to this component, so that parent objects know the mesh has changed. |
|
TangentsType |
How should Tangents be calculated/handled |
|
|
TriangleColorFunc |
If this function is set, we will use these colors instead of vertex colors |
Name | Description | |
---|---|---|
|
USimpleDynamicMeshComponent ( |
Name | Description | ||
---|---|---|---|
|
Bake ( |
Write the internal mesh to a MeshDescription |
|
|
Bake ( |
Write the internal mesh to a MeshDescription with default conversion options |
|
|
DisableSecondaryTriangleBuffers() |
Disable secondary triangle buffers. This invalidates the SceneProxy. |
|
|
EnableSecondaryTriangleBuffers ( |
If Secondary triangle buffers are enabled, then we will filter triangles that pass the given predicate function into a second index buffer. |
|
|
TUniquePtr< ... |
ExtractMesh ( |
|
|
FastNotifyColorsUpdated() |
Call this instead of NotifyMeshUpdated() if you have only updated the vertex colors (or triangle color function). |
|
|
FastNotifyPositionsUpdated |
Call this instead of NotifyMeshUpdated() if you have only updated the vertex positions. |
|
|
FastNotifySecondaryTrianglesChanged() |
Call this instead of NotifyMeshUpdated() if you have only updated secondary triangle sorting. |
|
|
FastNotifyUVsUpdated() |
Call this instead of NotifyMeshUpdated() if you have only updated the vertex uvs. |
|
|
const FDynam... |
GetMesh() |
|
|
FDynamicMesh... |
GetMesh() |
|
|
FMeshTangent... |
GetTangents() |
Calling this with TangentsType = AutoCalculated will result in possibly-expensive Tangents calculation |
|
InitializeMesh ( |
Initialize the internal mesh from a MeshDescription |
|
|
SetDrawOnTop ( |
Do not use this |
Name | Description | ||
---|---|---|---|
|
EnableWireframeRenderPass() |
||
|
NotifyMaterialSetUpdated() |
This is called to tell our RenderProxy about modifications to the material set. |
|
|
NotifyMeshUpdated() |
Change tracking/etc Call this if you update the mesh via GetMesh(). |
Name | Description | ||
---|---|---|---|
|
ApplyChange ( |
Apply a vertex deformation change to the internal mesh |
Name | Description | ||
---|---|---|---|
|
ApplyChange ( |
Apply a general mesh change to the internal mesh |
Name | Description | ||
---|---|---|---|
|
ApplyChange ( |
Apply a general mesh replacement change to the internal mesh |