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