FTaperedCapsule::ComputeLocalSamplePoints

Returns sample points centered about the origin.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/TaperedCapsule.h"

Syntax

TArray< FVec3 > ComputeLocalSamplePoints
(
    const FReal PointsPerUnitArea,
    const int32 MinPoints,
    const int32 MaxPoints
) const

Remarks

Returns sample points centered about the origin.

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 capsule.

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