Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_MeshBasicEditFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshBasicEditFunctions.h |
| Include | #include "GeometryScript/MeshBasicEditFunctions.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"GeometryScript_MeshEdits"&41;&41;
class UGeometryScriptLibrary_MeshBasicEditFunctions : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDynamicMesh * | AddTrianglesToMesh
(
UDynamicMesh* TargetMesh, |
Adds a list of triangles to the mesh and populates the New Indices List with the corresponding new Triangle IDs. | |
| UDynamicMesh * | AddTriangleToMesh
(
UDynamicMesh* TargetMesh, |
Adds a triangle (Vertex ID triplet) to the mesh and updates New Triangle Index with the resulting Triangle ID. | |
| UDynamicMesh * | AddVertexToMesh
(
UDynamicMesh* TargetMesh, |
Adds a new vertex to the mesh and returns a new Vertex ID (NewVertexIndex). | |
| UDynamicMesh * | AddVerticesToMesh
(
UDynamicMesh* TargetMesh, |
Adds a list of vertices to the mesh, and populates the NewIndicesList with the corresponding new Vertex IDs. | |
| UDynamicMesh * | AppendBuffersToMesh
(
UDynamicMesh* TargetMesh, |
Adds a set of vertices/triangles to the mesh, with Normals, UVs, and Colors; returning the new triangles indices | |
| UDynamicMesh * | AppendMesh
(
UDynamicMesh* TargetMesh, |
Apply Append Transform to Append Mesh and then add its geometry to the Target Mesh. | |
| UDynamicMesh * | AppendMeshRepeated
(
UDynamicMesh* TargetMesh, |
Repeatedly apply AppendTransform to the AppendMesh, each time adding the geometry to TargetMesh. | |
| UDynamicMesh * | AppendMeshTransformed
(
UDynamicMesh* TargetMesh, |
For each transform in AppendTransforms, apply the transform to AppendMesh and then add its geometry to the TargetMesh. | |
| UDynamicMesh * | DeleteSelectedTrianglesFromMesh
(
UDynamicMesh* TargetMesh, |
Removes specified triangles, identified by mesh selection, from the mesh. | |
| UDynamicMesh * | DeleteTriangleFromMesh
(
UDynamicMesh* TargetMesh, |
Removes a triangle from the mesh as indicated by the Triangle ID. | |
| UDynamicMesh * | DeleteTrianglesFromMesh
(
UDynamicMesh* TargetMesh, |
Removes a list of triangles from the mesh. | |
| UDynamicMesh * | DeleteVertexFromMesh
(
UDynamicMesh* TargetMesh, |
Removes a vertex from the mesh as indicated by the VertexID. | |
| UDynamicMesh * | DeleteVerticesFromMesh
(
UDynamicMesh* TargetMesh, |
Removes a list of vertices from the mesh. | |
| UDynamicMesh * | DiscardMeshAttributes
(
UDynamicMesh* TargetMesh, |
||
| UDynamicMesh * | SetAllMeshVertexPositions
(
UDynamicMesh* TargetMesh, |
Set all vertex positions in the TargetMesh to the specified Positions. | |
| UDynamicMesh * | SetVertexPosition
(
UDynamicMesh* TargetMesh, |