Module |
|
Header |
/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h |
Include |
#include "PlanarCut.h" |
Source |
/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Private/PlanarCut.cpp |
int32 AddCollisionSampleVertices
(
double TargetSpacing,
FGeometryCollection & Collection,
const TArrayView< const int32 > & TransformIndices
)
Scatter additional vertices (w/ no associated triangle) as needed to satisfy minimum point spacing
Index of first transform group w/ updated geometry. (To update geometry we delete and re-add, because geometry collection isn't designed for in-place updates)
Parameter |
Description |
---|---|
TargetSpacing |
The desired spacing between collision sample vertices |
Collection |
The Geometry Collection to be updated |
TransformIndices |
Which transform groups on the Geometry Collection to be updated. If empty, all groups are updated. |