FCurveSweepOp

Operation for sweeping a profile curve along a sweep curve to create a mesh.

Windows
MacOS
Linux

Inheritance Hierarchy

FDynamicMeshOperator

FCurveSweepOp

References

Module

ModelingOperators

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingOperators/Public/CompositionOps/CurveSweepOp.h

Include

#include "CompositionOps/CurveSweepOp.h"

Syntax

class FCurveSweepOp : public FDynamicMeshOperator

Remarks

Operation for sweeping a profile curve along a sweep curve to create a mesh.

Variables

Name Description

Public variable

bool

 

bProfileCurveIsClosed

If true, the last profile curve point will be considered connected to the first.

Public variable

bool

 

bSharpNormals

Whether adjacent triangles should share averaged normals or have their own (to give sharpness)

Public variable

bool

 

bSweepCurveIsClosed

If true, the last sweep point will be considered connected to the first.

Public variable

bool

 

bUVScaleRelativeWorld

If true, UVs are scaled to keep a consistent scale across differently sized geometry.

Public variable

bool

 

bUVsSkipFullyWeldedEdges

Whether fully welded edges (welded vertex to welded vertex) in the profile curve should affect the UV layout, since such edges don't generate triangles.

Public variable

ECapFillMode

 

CapFillMode

What kind of cap to create.

Public variable

double

 

DiagonalTolerance

When QuadSplitMode is ShortestDiagonal, biases one of the diagonals so that symmetric quads are split uniformly.

Public variable

EProfileSweepPo ...

 

PolygonGroupingMode

Public variable

TArray < FVector ...

 

ProfileCurve

Inputs.

Public variable

TSet < int32 >

 

ProfileVerticesToWeld

Public variable

EProfileSweepQu ...

 

QuadSplitMode

Public variable

double

 

SharpNormalAngleTolerance

When using sharp normals, the degree difference that adjacent triangles can have in their normals for them to be considered "coplanar" and therefore share normals.

Public variable

TArray < FFrame3 ...

 

SweepCurve

Public variable

double

 

UnitUVInWorldCoordinates

When bUVScaleRelativeWorld is true, the size in world coordinates of 1 UV coordinate.

Public variable

FVector2d

 

UVOffset

These values will be added to the generated UV's after applying UVScale.

Public variable

FVector2d

 

UVScale

Generated UV's will be multiplied by these values.

Destructors

Name Description

Public function Virtual

~FCurveSweepOp()

Overridden from FDynamicMeshOperator

Name Description

Public function Virtual

void

 

CalculateResult

(
    FProgressCancel * Progress
)

FDynamicMeshOperator implementation

Enums

Name

Description

Public enum

ECapFillMode

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback