Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Util
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Util/RevolveUtil.h |
| Include | #include "Util/RevolveUtil.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/Util/RevolveUtil.cpp |
namespace RevolveUtil
{
GEOMETRYCORE_API void RevolveUtil::GenerateSweepCurve
(
const FVector3d & RevolutionAxisOrigin,
const FVector3d & RevolutionAxisDirection,
double DegreesOffset,
double DegreesPerStep,
double DownAxisOffset,
int TotalNumFrames,
TArray < FFrame3d > & SweepCurveOut
)
}
Remarks
Generates a sweep curve with the initial frame at the origin and the rest rotated around the given axis.
Parameters
| Name | Description |
|---|---|
| RevolutionAxisOrigin | |
| RevolutionAxisDirection | Should be normalized. |
| DegreesOffset | Number of degrees to rotate the first frame. |
| DegreesPerStep | Number of degrees each frame is rotated from the previous |
| DownAxisOffset | Distance to move each frame up the axis from the previous (for spirals) |
| TotalNumFrames | Number of frames to create, including the first frame |
| SweepCurveOut | Output |