Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UPointSetComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Add points to be rendered using the component. | Drawing/PointSetComponent.h |
|
|
void AddPoints
(
int32 NumIndices, |
Add a set of points for each index in a sequence | Drawing/PointSetComponent.h |
AddPoints(const TArray< FVector > &, const FColor &, const float, const float)
Description
Add points to be rendered using the component.
| Name | AddPoints |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/PointSetComponent.h |
| Include Path | #include "Drawing/PointSetComponent.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/PointSetComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Point Set", Meta=(AutoCreateRefTerm="InColor"))
int32 AddPoints
(
const TArray < FVector > & Positions,
const FColor & InColor,
const float InSize,
const float InDepthBias
)
Number of added points
AddPoints(int32, TFunctionRef< void(int32 Index, TArray< FRenderablePoint > &PointsOut)>, int32, bool)
Description
Add a set of points for each index in a sequence
| Name | AddPoints |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/PointSetComponent.h |
| Include Path | #include "Drawing/PointSetComponent.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/PointSetComponent.cpp |
void AddPoints
(
int32 NumIndices,
TFunctionRef < void< FRenderablePoint > &PointsOut)> PointGenFunc,
int32 PointsPerIndexHint,
bool bDeferRenderStateDirty
)
Parameters
| Name | Remarks |
|---|---|
| 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 |