Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos > FCylinder > ComputeLocalSamplePoints
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Cylinder.h |
Include | #include "Chaos/Cylinder.h" |
TArray < FVec3 > ComputeLocalSamplePoints
(
const FReal PointsPerUnitArea,
const bool IncludeEndCaps,
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 cylinder.