Module |
|
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 |
void ApplyToCurveSweepOp
(
const UNewMeshMaterialProperties & MaterialProperties,
const FVector3d & RevolutionAxisOrigin,
const FVector3d & RevolutionAxisDirection,
FCurveSweepOp & CurveSweepOpOut
) const
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.