Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_MeshPrimitiveFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshPrimitiveFunctions.h |
| Include | #include "GeometryScript/MeshPrimitiveFunctions.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"GeometryScript_Primitives"&41;&41;
class UGeometryScriptLibrary_MeshPrimitiveFunctions : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| UDynamicMesh * | AppendBoundingBox
(
UDynamicMesh* TargetMesh, |
Appends a 3D box to the Target Mesh with dimensions and origin taken from the input Box | |
| UDynamicMesh * | AppendBox
(
UDynamicMesh* TargetMesh, |
Appends a 3D box to the Target Mesh. | |
| UDynamicMesh * | AppendCapsule
(
UDynamicMesh* TargetMesh, |
Appends a 3D Capsule to the Target Mesh. | |
| UDynamicMesh * | AppendCone
(
UDynamicMesh* TargetMesh, |
Appends a 3D cone to the Target Mesh. | |
| UDynamicMesh * | AppendCurvedStairs
(
UDynamicMesh* TargetMesh, |
Appends a rising circular staircase to the Target Mesh. | |
| UDynamicMesh * | AppendCylinder
(
UDynamicMesh* TargetMesh, |
Appends a 3D Cylinder (with optional end caps) to the Target Mesh. | |
| UDynamicMesh * | AppendDelaunayTriangulation2D
(
UDynamicMesh* TargetMesh, |
Generates a Delaunay Triangulation of the provided vertices, and appends it to the Target Mesh. | |
| UDynamicMesh * | AppendDisc
(
UDynamicMesh* TargetMesh, |
Appends a planar disc to the Target Mesh. | |
| UDynamicMesh * | AppendLinearStairs
(
UDynamicMesh* TargetMesh, |
Appends a linear staircase to the Target Mesh. | |
| UDynamicMesh * | AppendPolygonListTriangulation
(
UDynamicMesh* TargetMesh, |
Generates a Delaunay Triangulation of the provided Polygon List, and appends it to the Target Mesh. | |
| UDynamicMesh * | [AppendRectangle_Compatibility_50](API\Plugins\GeometryScriptingCore\GeometryScript\UGeometryScriptL-_16\AppendRectangle-)
(
UDynamicMesh* TargetMesh, |
Backwards-Compatibility implementations. | |
| UDynamicMesh * | AppendRectangleXY
(
UDynamicMesh* TargetMesh, |
Appends a planar Rectangle to a Dynamic Mesh. | |
| UDynamicMesh * | AppendRevolvePath
(
UDynamicMesh* TargetMesh, |
Revolves an open 2D path, with optional top and bottom end caps, appending the result to the Target Mesh. | |
| UDynamicMesh * | AppendRevolvePolygon
(
UDynamicMesh* TargetMesh, |
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. | |
| UDynamicMesh * | AppendRoundRectangle_Compatibility_5_0
(
UDynamicMesh* TargetMesh, |
5.0 Preview 1 Compatibility version of AppendRoundRectangleXY. | |
| UDynamicMesh * | AppendRoundRectangleXY
(
UDynamicMesh* TargetMesh, |
Appends a planar Rectangle with Rounded Corners (RoundRect) to the Target Mesh. | |
| UDynamicMesh * | AppendSimpleExtrudePolygon
(
UDynamicMesh* TargetMesh, |
Polygon should be oriented counter-clockwise to produce a correctly-oriented shape, otherwise it will be inside-out Polygon endpoint is not repeated. | |
| UDynamicMesh * | AppendSimpleSweptPolygon
(
UDynamicMesh* TargetMesh, |
Sweeps a 2D polygon along an arbitrary 3D path, appending the result to the Target Mesh. | |
| UDynamicMesh * | AppendSphereBox
(
UDynamicMesh* TargetMesh, |
Appends a 3D sphere triangulated using box topology to the Target Mesh. | |
| UDynamicMesh * | AppendSphereLatLong
(
UDynamicMesh* TargetMesh, |
Appends a 3D Sphere triangulated using latitude/longitude topology to the Target Mesh. | |
| UDynamicMesh * | AppendSpiralRevolvePolygon
(
UDynamicMesh* TargetMesh, |
Revolves a 2D polygon on a helical path, like one used to create a vertical spiral, appending the result to the Target Mesh. | |
| UDynamicMesh * | AppendSweepPolygon
(
UDynamicMesh* TargetMesh, |
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). | |
| UDynamicMesh * | AppendSweepPolyline
(
UDynamicMesh* TargetMesh, |
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). | |
| UDynamicMesh * | AppendTorus
(
UDynamicMesh* TargetMesh, |
Appends a 3D torus (donut) or partial torus to the Target Mesh. | |
| UDynamicMesh * | AppendTriangulatedPolygon
(
UDynamicMesh* TargetMesh, |
Appends a Triangulated Polygon to the Target Mesh. | |
| UDynamicMesh * | AppendVoronoiDiagram2D
(
UDynamicMesh* TargetMesh, |
Generates triangulated Voronoi Cells from the provided Voronoi Sites, identifying each with PolyGroups, and appends to the Target Mesh. |