Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_MeshPrimitiveFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshPrimitiveFunctions.h |
| Include | #include "GeometryScript/MeshPrimitiveFunctions.h" |
Syntax
UCLASS (Meta=(ScriptName="GeometryScript_Primitives"))
class UGeometryScriptLibrary_MeshPrimitiveFunctions : public UBlueprintFunctionLibrary
Variables
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDynamicMesh * | AppendCapsule
(
UDynamicMesh* TargetMesh, |
Version of append capsule without SegmentSteps parameter | |
| TArray< FIntPoint > | CreateConstrainedEdgesChain
(
int32 NumVertices, |
Intended for use with AppendDelaunayTriangulation2D: Create a chain of edges through sequential vertices e.g., a Chain(3,0) will construct edges (0,1) and (1,2) | |
| TArray< FIntPoint > | CreateConstrainedEdgesLoop
(
int32 NumVertices, |
Intended for use with AppendDelaunayTriangulation2D: Create a loop of edges through sequential vertices e.g., a Loop(3,0) will construct edges (2,0), (0,1) and (1,2) | |
| static | UPARAM
(
DisplayName |
Sweeps a 2D polygon along an arbitrary 3D path, appending the result to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Sweep the given 2D PolygonVertices along the SweepPath specified as a set of FTransforms If the 2D vertices are (U,V), then in the coordinate space of the FTransform, X points "along" the path, Y points "right" (U) and Z points "up" (V). | |
| static | UPARAM
(
DisplayName |
Appends a planar Rectangle to a Dynamic Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a planar Rectangle with Rounded Corners (RoundRect) to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a planar disc to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a Triangulated Polygon to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a Triangulated Polygon (with vertices specified in 3D) to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a linear staircase to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a rising circular staircase to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Generates triangulated Voronoi Cells from the provided Voronoi Sites, identifying each with PolyGroups, and appends to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Generates a Delaunay Triangulation of the provided vertices, and appends it to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Generates a Delaunay Triangulation of the provided Polygon List, and appends it to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends Simple Collision shapes to the Target Mesh, triangulated as specified by Triangulation Options | |
| static | UPARAM
(
DisplayName |
Appends the spheres in the Sphere Covering to the Target Mesh | |
| static | UPARAM
(
DisplayName |
Polygon should be oriented counter-clockwise to produce a correctly-oriented shape, otherwise it will be inside-out Polygon endpoint is not repeated. | |
| static | UPARAM
(
DisplayName |
Sweep the given 2D PolylineVertices along the SweepPath specified as a set of FTransforms If the 2D vertices are (U,V), then in the coordinate space of the FTransform, X points "along" the path, Y points "right" (U) and Z points "up" (V). | |
| static | UPARAM
(
DisplayName |
Revolves an open 2D path, with optional top and bottom end caps, appending the result to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Revolves a 2D polygon on a helical path, like one used to create a vertical spiral, appending the result to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a 3D box to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a 3D box to the Target Mesh Also creates matching simple collision | |
| static | UPARAM
(
DisplayName |
Appends a 3D box to the Target Mesh with dimensions and origin taken from the input Box | |
| static | UPARAM
(
DisplayName |
Appends a 3D box to the Target Mesh with dimensions and origin taken from the input Box Also creates matching simple collision | |
| static | UPARAM
(
DisplayName |
Appends a 3D Sphere triangulated using latitude/longitude topology to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a 3D Sphere triangulated using latitude/longitude topology to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Backwards-Compatibility implementations. | |
| static | UPARAM
(
DisplayName |
Appends a 3D sphere triangulated using box topology to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a 3D Capsule to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a 3D Capsule to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a 3D Cylinder (with optional end caps) to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a 3D cone to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
Appends a 3D torus (donut) or partial torus to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
In the coordinate system of the revolve polygon, +X is towards the "outside" of the revolve donut, and +Y is "up" (ie +Z in local space) Polygon should be oriented counter-clockwise to produce a correctly-oriented shape, otherwise it will be inside-out Polygon endpoint is not repeated. | |
| static | UPARAM
(
DisplayName |
Appends a 3D sphere triangulated using box topology to the Target Mesh. | |
| static | UPARAM
(
DisplayName |
5.0 Preview 1 Compatibility version of AppendRoundRectangleXY. |