Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_MeshDecompositionFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshDecompositionFunctions.h |
| Include | #include "GeometryScript/MeshDecompositionFunctions.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"GeometryScript_MeshDecomposition"&41;&41;
class UGeometryScriptLibrary_MeshDecompositionFunctions : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDynamicMesh * | CopyMeshSelectionToMesh
(
UDynamicMesh* TargetMesh, |
Extract the triangles identified by Selection from TargetMesh and copy/add them to StoreToSubmesh | |
| UDynamicMesh * | CopyMeshToMesh
(
UDynamicMesh* CopyFromMesh, |
Set CopyToMesh to be the same mesh as CopyFromMesh | |
| UDynamicMesh * | GetSubMeshFromMesh
(
UDynamicMesh* TargetMesh, |
CopyMeshSelectionToMesh should be used instead of this function | |
| UDynamicMesh * | SplitMeshByComponents
(
UDynamicMesh* TargetMesh, |
Create a new Mesh for each Connected Component of TargetMesh. | |
| UDynamicMesh * | SplitMeshByMaterialIDs
(
UDynamicMesh* TargetMesh, |
Create a new Mesh for each MaterialID of TargetMesh. | |
| UDynamicMesh * | SplitMeshByPolygroups
(
UDynamicMesh* TargetMesh, |
Create a new Mesh for each Polygroup of TargetMesh. |