Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Drawing
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPreviewGeometry
- UMeshElementsVisualizer
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/MeshElementsVisualizer.h |
| Include | #include "Drawing/MeshElementsVisualizer.h" |
Remarks
UMeshElementsVisualizer is a subclass of UPreviewGeometry that displays mesh elements. Currently supports wireframe, boundary edges, UV seams, Normal seams and Color seams.
UMeshElementsVisualizer initializes an instance of UMeshElementsVisualizerProperties as its .Settings value, and will watch for changes in these properties.
Mesh is accessed via lambda callback provided by creator/client. See SetMeshAccessFunction() comments
Variables
| Type | Name | Description | |
|---|---|---|---|
| bSettingsModified | |||
| Settings | |||
| WireframeComponent | |||
| WireframeSourceProvider |
Functions
| Type | Name | Description | |
|---|---|---|---|
| Call if mesh provided by MeshAccessFunction has been modified, will cause a full recomputation of all rendering data structures. | |||
OnCreated () |
Called at the end of CreateInWorld() to allow subclasses to add additional setup | ||
OnTick () |
Client must call this every frame for changes to .Settings to be reflected in rendered result. | ||
| UMeshElementsVisualizer needs access to a mesh to generate it's data structures. | |||
Typedefs
| Name | Description |
|---|---|
| ProcessDynamicMeshFunc | A reference to a function that can be called with a const FDynamicMesh3 to do some computation on it. |