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; ConvertUVIslandsToPolygroups
&40;
UDynamicMesh &42; TargetMesh,
FGeometryScriptGroupLayer GroupLayer,
int UVLayer,
UGeometryScriptDebug &42; Debug
&41;
Remarks
Creates and assigns a new PolyGroup for each disconnected UV island of a Mesh. Note, this will have no effect if either the requested UV Layer or Group Layer does not exist.
Parameters
| Name | Description |
|---|---|
| GroupLayer | indicates PolyGroup Layer that will be populated with unique values for each UV island. |
| UVLayer | specifies the UV Layer used to construct the PolyGroups. |