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; SelectMeshElementsInBox
&40;
UDynamicMesh &42; TargetMesh,
FGeometryScriptMeshSelection & Selection,
FBox Box,
EGeometryScriptMeshSelectionType SelectionType,
bool bInvert,
int MinNumTrianglePoints
&41;
Remarks
Create a new Mesh Selection of the SelectionType for the TargetMesh by finding all elements contained in the Box.
Parameters
| Name | Description |
|---|---|
| bInvert | return a selection of all elements not in the Box |
| MinNumTrianglePoints | number of vertices of a triangle that must be in the box for it to be selected (1,2, or 3) |