Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Drawing
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UMeshComponent
- UMeshWireframeComponent
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/MeshWireframeComponent.h |
| Include | #include "Drawing/MeshWireframeComponent.h" |
Syntax
UCLASS&40;&41;
class UMeshWireframeComponent : public UMeshComponent
Remarks
UMeshWireframeComponent draws a mesh wireframe as lines, with line color/thickness varying depending on line type and the configuration settings. Currently can draw:
- all mesh edges
- boundary edges
- UV seam edges
- Normal seam edges
- Color seam edges
Client must provide a IMeshWireframeSourceProvider implementation that provides the edge set, vertices, and edge type
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableBoundaryEdges | ||
| bool | bEnableColorSeams | ||
| bool | bEnableNormalSeams | ||
| bool | bEnableTangentSeams | ||
| bool | bEnableUVSeams | ||
| bool | bEnableWireframe | ||
| FColor | BoundaryEdgeColor | ||
| float | BoundaryEdgeThickness | ||
| FColor | ColorSeamColor | ||
| float | ColorSeamThickness | ||
| float | LineDepthBias | Depth bias of the lines, used to offset in depth to avoid z-fighting | |
| float | LineDepthBiasSizeScale | Target-size depth bias scale. | |
| FColor | NormalSeamColor | ||
| float | NormalSeamThickness | ||
| FColor | TangentSeamColor | ||
| float | TangentSeamThickness | ||
| float | ThicknessScale | Scaling factor applied to the per-edge-type thicknesses defined below | |
| FColor | UVSeamColor | ||
| float | UVSeamThickness | ||
| FColor | WireframeColor | ||
| float | WireframeThickness |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetLineMaterial
(
UMaterialInterface* InLineMaterial |
Specify material which handles lines | |
| void | SetWireframeSourceProvider
(
TSharedPtr< IMeshWireframeSourceProvider > Provider |
Set the wireframe source | |
| void | Causes the rendered wireframe to be updated from its source. |