Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Drawing
Inheritance Hierarchy
- UMeshComponent
- ULineSetComponent
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/LineSetComponent.h |
| Include | #include "Drawing/LineSetComponent.h" |
Syntax
UCLASS (Meta=(BlueprintSpawnableComponent))
class ULineSetComponent : public UMeshComponent
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Create and add a line to be rendered using the component. | ||
| int32 | AddLine
(
const FRenderableLine& OverlayLine |
Add a line to be rendered using the component. | |
| int32 | Add lines to be rendered using the component. | ||
| void | AddLines
(
int32 NumIndices, |
Add a set of lines for each index in a sequence | |
| void | Clear () |
Clear the line set | |
| void | InsertLine
(
const int32 ID, |
Insert a line with the given ID to the overlay | |
| bool | IsLineValid
(
const int32 ID |
Queries whether a line with the given ID exists | |
| void | RemoveLine
(
const int32 ID |
Remove a line from the set | |
| void | ReserveLines
(
const int32 MaxID |
Reserve enough memory for up to the given ID (for inserting via ID) | |
| void | SetAllLinesColor
(
const FColor& NewColor |
Sets the color of all existing lines | |
| void | SetAllLinesDepthBias
(
const float NewDepthBias |
Sets the depth bias of all existing lines | |
| void | SetAllLinesLength
(
const float NewLength, |
Rescales each line assuming that vertex 0 is the origin | |
| void | SetAllLinesThickness
(
const float NewThickness |
Sets the thickness of all existing lines | |
| void | SetLineColor
(
const int32 ID, |
Sets the color of a line | |
| void | SetLineEnd
(
const int32 ID, |
Changes the end coordinates of a line | |
| void | SetLineMaterial
(
UMaterialInterface* InLineMaterial |
Specify material which handles lines | |
| void | SetLineStart
(
const int32 ID, |
Changes the start coordinates of a line | |
| void | SetLineThickness
(
const int32 ID, |
Sets the thickness of a line |