AddCollisionSampleVertices

Scatter additional vertices (w/ no associated triangle) as needed to satisfy minimum point spacing

Windows
MacOS
Linux

References

Module

PlanarCut

Header

/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h

Include

#include "PlanarCut.h"

Source

/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Private/PlanarCut.cpp

Syntax

int32 AddCollisionSampleVertices
(
    double TargetSpacing,
    FGeometryCollection & Collection,
    const TArrayView< const int32 > & TransformIndices
)

Remarks

Scatter additional vertices (w/ no associated triangle) as needed to satisfy minimum point spacing

Returns

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)

Parameters

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.

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