Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_20
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshSelectionFunctions.h |
| Include | #include "GeometryScript/MeshSelectionFunctions.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/MeshSelectionFunctions.cpp |
static UDynamicMesh &42; ConvertMeshSelection
&40;
UDynamicMesh &42; TargetMesh,
FGeometryScriptMeshSelection FromSelection,
FGeometryScriptMeshSelection & ToSelection,
EGeometryScriptMeshSelectionType NewType,
bool bAllowPartialInclusion
&41;
Remarks
Convert a Mesh Selection to a different Type (eg Vertices to Triangles, etc) By default, Vertices map to Triangle one-rings, and Triangles to all contained vertices. If bAllowPartialInclusion is disabled, then more restrictive conversions are performed, as follows: For To-Vertices, only include vertices where all one-ring triangles are included in FromSelection. For To-Triangles, only include triangles where all tri vertices are included in FromSelection. For To-PolyGroups, only include groups where all group triangles are included in FromSelection
Parameters
| Name | Description |
|---|---|
| bAllowPartialInclusion | if false, perform more limited selection conversion as described above |