Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Selections > API/Runtime/GeometryCore/Selections/FMeshConnectedComponents > API/Runtime/GeometryCore/Selections/FMeshConnectedComponents/InitializeFromVe-
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Selections/MeshConnectedComponents.h |
| Include | #include "Selections/MeshConnectedComponents.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Selections/MeshConnectedComponents.cpp |
bool InitializeFromVertexComponents
(
TArray < TArray < int32 > > & ComponentLists,
bool bMoveSubLists,
bool bValidateIDs
)
Remarks
Initialize the internal FComponent list from the input ComponentLists, skipping any empty input lists true if all IDs are valid, or if check was skipped
Parameters
| Name | Description |
|---|---|
| bMoveSubLists | if true, steal the arrays inside the ComponentLists (via MoveTemp), to avoid memory copies |
| bValidateIDs | if true, test that each value corresponds to a valid vertex ID on the Mesh |