Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/SweepGenerator.h |
Include |
#include "Generators/SweepGenerator.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Private/Generators/SweepGenerator.cpp |
TODO: We could output other boundaries too, but that's probably only worth doing once we find a case where we would actually use them.
Initializes the UV buffer with UV's that are set according to the diagram at the start of Generate(), with an extra element on each end in the case of closed curves, and distances weighted by distances in the corresponding curves. This function should get called after setting vertex positions so that the function can use them in case bUVScaleRelativeWorld is true.
Parameter |
Description |
---|---|
VertPositionOffsets |
Offsets needed to get the correct vertex indices, for setting the parents of UV elements |
NumUvRowsOut |
Number of resulting UV rows allocated (a row corresponds to an instance of the profile curve) |
NumUvColumnsOut |
Number of resulting UV columns allocated (number of columns relates to number of profile points) |