Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_15
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshPolygroupFunctions.h |
| Include | #include "GeometryScript/MeshPolygroupFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/MeshPolygroupFunctions.cpp |
static int32 GetTrianglePolygroupID
&40;
UDynamicMesh &42; TargetMesh,
FGeometryScriptGroupLayer GroupLayer,
int TriangleID,
bool & bIsValidTriangle
&41;
Remarks
Gets the PolyGroup ID associated with the specified Triangle ID and stored in the Group Layer. If the Group Layer or the Triangle does not exist, the value 0 will be returned and bIsValidTriangle set to false.
Parameters
| Name | Description |
|---|---|
| GroupLayer | indicates the layer on the Target Mesh to query. |
| TriangleID | identifies a triangle in the Target Mesh. |
| bIsValidTriangle | will be populated on return with false if either the Group Layer or the Triangle does not exist. |