Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/LineSetComponent.h |
Include |
#include "Drawing/LineSetComponent.h" |
Source |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/LineSetComponent.cpp |
void AddLines
(
int32 NumIndices,
TFunctionRef< voidIndex, TArray< FRenderableLine > &LinesOut)> LineGenFunc,
int32 LinesPerIndexHint
)
Add a set of lines for each index in a sequence
Parameter |
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 |