Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicSubmesh3 > API/Runtime/GeometryCore/FDynamicSubmesh3/Compute
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicSubmesh3.h |
| Include | #include "DynamicSubmesh3.h" |
void Compute
&40;
const TArrayView< const int > & SubTriangles,
int WantComponents,
bool bAttributes
&41;
Remarks
Computes the Submesh object, index mappings corresponding sub to base mesh, and boundary between sub and base mesh
Parameters
| Name | Description |
|---|---|
| SubTriangles | ArrayView of triangle IDs to include in the submesh |
| WantComponents | Bit flag of desired mesh components; will only enable if flag is set AND the components are enabled in the BaseMesh |
| bAttributes | Flag indicating if attributes are needed for submesh; will only enable attributes if flag is set AND attributes are enabled in the BaseMesh |