Navigation
API > API/Plugins > API/Plugins/MeshModelingTools > API/Plugins/MeshModelingTools/URevolveProperties
Description
Sets most of the settings for a FCurveSweepOp except for the profile curve itself. Should be called after setting the profile curve, as the function reverses it if necessary.
CurveSweepOpOut.ProfileCurve and CurveSweepOpOut.bProfileCurveIsClosed must be initialized in advance.
| Name | ApplyToCurveSweepOp |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Properties/RevolveProperties.h |
| Include Path | #include "Properties/RevolveProperties.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Private/Properties/RevolveProperties.cpp |
void ApplyToCurveSweepOp
(
const UNewMeshMaterialProperties & MaterialProperties,
const FVector3d & RevolutionAxisOrigin,
const FVector3d & RevolutionAxisDirection,
UE::Geometry::FCurveSweepOp & CurveSweepOpOut
) const