Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/SweepGenerator.h |
Include |
#include "Generators/SweepGenerator.h" |
void ConstructMeshTopology
(
const FPolygon2d & CrossSection,
const TArrayView< const int32 > & UVSections,
const TArrayView< const int32 > & NormalSections,
const TArrayView< const int32 > & SharpNormalsAlongLength,
bool bEvenlySpaceUVs,
const TArrayView< const FVector3d > & Path,
int32 NumCrossSections,
bool bLoop,
const ECapType Caps,
FVector2f SectionsUVScale,
FVector2f CapUVScale,
FVector2f CapUVOffset
)
Shared logic for creating vertex buffers and triangulations across all sweep primitives
Does not set vertex positions or normals; a separate call must do that.