Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/ULineSetComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
|
AddLines(int32, TFunctionRef< void(int32 Index, TArray< FRenderableLine > &LinesOut)>, int32, bool)
Description
Add a set of lines for each index in a sequence
| Name | AddLines |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/LineSetComponent.h |
| Include Path | #include "Drawing/LineSetComponent.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/LineSetComponent.cpp |
void AddLines
(
int32 NumIndices,
TFunctionRef < void< FRenderableLine > &LinesOut)> LineGenFunc,
int32 LinesPerIndexHint,
bool bDeferRenderStateDirty
)
Parameters
| Name | Remarks |
|---|---|
| NumIndices | iterate from 0...NumIndices and call LineGenFunc() for each value |
| LineGenFunc | called to fetch the lines for an index, callee filles LinesOut array (reset before each call) |
| LinesPerIndexHint | if > 0, will reserve space for NumIndices*LinesPerIndexHint new lines |
AddLines(const TArray< FVector > &, const TArray< FVector > &, const FColor &, const float, const float)
Description
Add lines to be rendered using the component.
| Name | AddLines |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/LineSetComponent.h |
| Include Path | #include "Drawing/LineSetComponent.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/LineSetComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Line Set", Meta=(AutoCreateRefTerm="InColor"))
int32 AddLines
(
const TArray < FVector > & InStart,
const TArray < FVector > & InEnd,
const FColor & InColor,
const float InThickness,
const float InDepthBias
)