Navigation
API > API/Plugins > API/Plugins/ModelingOperators > API/Plugins/ModelingOperators/CurveOps > API/Plugins/ModelingOperators/CurveOps/FTriangulateCurvesOp
References
| Module | ModelingOperators |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperators/Public/CurveOps/TriangulateCurvesOp.h |
| Include | #include "CurveOps/TriangulateCurvesOp.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperators/Private/CurveOps/TriangulateCurvesOp.cpp |
void AddWorldCurve
(
TArrayView < const FVector3d > WorldSpaceVertices,
bool bClosed,
const FTransform & ReferenceTransform
)
Remarks
Add a curve in world space
Parameters
| Name | Description |
|---|---|
| WorldSpaceVertices | The vertices of the curve, in world space |
| bClosed | Whether the curve is closed, i.e. should include an edge from the last vertex back to the first vertex |
| ReferenceTransform | The transform that would take the curve vertices from local space to world space Note: The first curve's Reference Transform is used as the local reference frame for the triangulation, and will be the operator's Result Transform |