FSweepGeneratorBase::ConstructMeshTopology

Shared logic for creating vertex buffers and triangulations across all sweep primitives

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/SweepGenerator.h

Include

#include "Generators/SweepGenerator.h"

Syntax

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
)

Remarks

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.

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