Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_MeshPolygroupFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshPolygroupFunctions.h |
| Include | #include "GeometryScript/MeshPolygroupFunctions.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"GeometryScript_PolyGroups"&41;&41;
class UGeometryScriptLibrary_MeshPolygroupFunctions : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDynamicMesh * | ClearPolygroups
(
UDynamicMesh* TargetMesh, |
Resets the triangle PolyGroup assignments within a PolyGroup Layer to the given Clear Value (or 0 if no Clear Value is specified). | |
| UDynamicMesh * | ComputePolygroupsFromAngleThreshold
(
UDynamicMesh* TargetMesh, |
Sets PolyGroups by partitioning the mesh based on an edge crease/opening-angle. | |
| UDynamicMesh * | ComputePolygroupsFromPolygonDetection
(
UDynamicMesh* TargetMesh, |
Sets PolyGroups by identifying adjacent triangles that form reasonable quads. | |
| UDynamicMesh * | ConvertComponentsToPolygroups
(
UDynamicMesh* TargetMesh, |
Creates and assigns a new PolyGroup for each disconnected component of a Mesh. | |
| UDynamicMesh * | ConvertUVIslandsToPolygroups
(
UDynamicMesh* TargetMesh, |
Creates and assigns a new PolyGroup for each disconnected UV island of a Mesh. | |
| UDynamicMesh * | CopyPolygroupsLayer
(
UDynamicMesh* TargetMesh, |
Copies the triangle PolyGroup assignments from one layer on the Target Mesh to another. | |
| UDynamicMesh * | DeleteTrianglesInPolygroup
(
UDynamicMesh* TargetMesh, |
Deletes all triangles from the Target Mesh that have a particular PolyGroup ID, in the specific Group Layer. | |
| UDynamicMesh * | EnablePolygroups
(
UDynamicMesh* TargetMesh, |
Enables the standard PolyGroup Layer on the Target Mesh. | |
| UDynamicMesh * | GetAllTrianglePolygroupIDs
(
UDynamicMesh* TargetMesh, |
Create list of per-triangle PolyGroup IDs for the PolyGroup in the Mesh | |
| UDynamicMesh * | GetPolygroupIDsInMesh
(
UDynamicMesh* TargetMesh, |
Create list of all unique PolyGroup IDs that exist in the PolyGroup Layer in the Mesh | |
| int32 | GetTrianglePolygroupID
(
UDynamicMesh* TargetMesh, |
Gets the PolyGroup ID associated with the specified Triangle ID and stored in the Group Layer. | |
| UDynamicMesh * | GetTrianglesInPolygroup
(
UDynamicMesh* TargetMesh, |
Create list of all triangles with the given PolyGroup ID in the given GroupLayer (not necessarily a single connected-component) | |
| UDynamicMesh * | SetNumExtendedPolygroupLayers
(
UDynamicMesh* TargetMesh, |
Sets the number of extended PolyGroup Layers on a Mesh. | |
| UDynamicMesh * | SetPolygroupForMeshSelection
(
UDynamicMesh* TargetMesh, |
Set a new PolyGroup on all the triangles of the given Selection, for the given GroupLayer. |