ULineSetComponent::AddLines

Add a set of lines for each index in a sequence

Windows
MacOS
Linux

References

Module

ModelingComponents

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

Syntax

void AddLines
(
    int32 NumIndices,
    TFunctionRef< voidIndex, TArray< FRenderableLine > &LinesOut)> LineGenFunc,
    int32 LinesPerIndexHint
)

Remarks

Add a set of lines for each index in a sequence

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss