| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/OctreeDynamicMeshComponent.h |
Include |
#include "OctreeDynamicMeshComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(HideCategories=(LOD, Physics, Collision), EditInlineNew, ClassGroup=Rendering)
class UOctreeDynamicMeshComponent : public UBaseDynamicMeshComponent
UOctreeDynamicMeshComponent is a mesh component similar to UProceduralMeshComponent, except it bases the renderable geometry off an internal FDynamicMesh3 instance. The class generally has the same capabilities as USimpleDynamicMeshComponent.
A FDynamicMeshOctree3 is available to dynamically track the triangles of the mesh (however the client is responsible for updating this octree). Based on the Octree, the mesh is partitioned into chunks that are stored in separate RenderBuffers in the FOctreeDynamicMeshSceneProxy. Calling NotifyMeshUpdated() will result in only the "dirty" chunks being updated, rather than the entire mesh.
(So, if you don't need this capability, and don't want to update an Octree, use USimpleDynamicMeshComponent!)
Name | Description | ||
---|---|---|---|
|
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. |
|
TriangleColorFunc |
If this function is set, we will use these colors instead of vertex colors |
Name | Description | |
---|---|---|
|
UOctreeDynamicMeshComponent ( |
Name | Description | ||
---|---|---|---|
|
Bake ( |
Write the internal mesh to a MeshDescription with default conversion options |
|
|
TUniquePtr< ... |
ExtractMesh ( |
|
|
FDynamicMesh... |
GetOctree() |
Name | Description | ||
---|---|---|---|
|
ApplyTransform ( |
Apply transform to internal mesh. Invalidates RenderProxy. |
|
|
Bake ( |
Write the internal mesh to a MeshDescription |
|
|
EnableWireframeRenderPass() |
||
|
FDynamicMesh... |
GetMesh() |
|
|
const FDynam... |
GetMesh() |
|
|
InitializeMesh ( |
Initialize the internal mesh from a MeshDescription |
|
|
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() |
|
|
SetEnableWireframeRenderPass ( |
Configure whether wireframe rendering is enabled or not |
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 |