FTaperedCylinder::ComputeSamplePoints

Returns sample points at the current location of the cylinder.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/TaperedCylinder.h

Include

#include "Chaos/TaperedCylinder.h"

Syntax

TArray< FVec3 > ComputeSamplePoints
(
    const FReal PointsPerUnitArea,
    const bool IncludeEndCaps,
    const int32 MinPoints,
    const int32 MaxPoints
) const

Remarks

Returns sample points at the current location of the cylinder.

PointsPerUnitArea_ specifies how many points to generate per square unit (cm). 0.5 would generate 1 point per 2 square cm. IncludeEndCaps_ determines whether or not points are generated on the end caps of the cylinder.

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