Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Drawing > API/Plugins/ModelingComponents/Drawing/ULineSetComponent
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/LineSetComponent.h |
| Include | #include "Drawing/LineSetComponent.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/LineSetComponent.cpp |
void AddLines
&40;
int32 NumIndices,
TFunctionRef< void(int32Index, TArray< FRenderableLine > &LinesOut)> LineGenFunc,
int32 LinesPerIndexHint,
bool bDeferRenderStateDirty
&41;
Remarks
Add a set of lines for each index in a sequence
Parameters
| Name | Description |
|---|---|
| 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 |