URevolveProperties::ApplyToCurveSweepOp

Sets most of the settings for a [FCurveSweepOp](API\Plugins\ModelingOperators\CompositionOps\FCurveSweepOp) except for the profile curve itself.

Windows
MacOS
Linux

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/Properties/RevolveProperties.h

Include

#include "Properties/RevolveProperties.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Private/Properties/RevolveProperties.cpp

Syntax

void ApplyToCurveSweepOp
(
    const UNewMeshMaterialProperties & MaterialProperties,
    const FVector3d & RevolutionAxisOrigin,
    const FVector3d & RevolutionAxisDirection,
    FCurveSweepOp & CurveSweepOpOut
) const

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss