Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Drawing > API/Plugins/ModelingComponents/Drawing/UPointSetComponent
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/PointSetComponent.h |
| Include | #include "Drawing/PointSetComponent.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/PointSetComponent.cpp |
void AddPoints
&40;
int32 NumIndices,
TFunctionRef< void(int32Index, TArray< FRenderablePoint > &PointsOut)> PointGenFunc,
int32 PointsPerIndexHint,
bool bDeferRenderStateDirty
&41;
Remarks
Add a set of points for each index in a sequence
Parameters
| Name | Description |
|---|---|
| NumIndices | iterate from 0...NumIndices and call PointGenFunc() for each value |
| PointGenFunc | called to fetch the points for an index, callee filles PointsOut array (reset before each call) |
| PointsPerIndexHint | if > 0, will reserve space for NumIndices*PointsPerIndexHint new points |