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 UDynamicMesh &42; ComputePolygroupsFromAngleThreshold
&40;
UDynamicMesh &42; TargetMesh,
FGeometryScriptGroupLayer GroupLayer,
float CreaseAngle,
int MinGroupSize,
UGeometryScriptDebug &42; Debug
&41;
Remarks
Sets PolyGroups by partitioning the mesh based on an edge crease/opening-angle. Note, this will have no effect if the Group Layer does not exist.
Parameters
| Name | Description |
|---|---|
| GroupLayer | indicates the PolyGroup Layer that will be populated. |
| CreaseAngle | measured in degrees and used when comparing adjacent faces. |
| MinGroupSize | the minimum number of triangles in each PolyGroup. |