UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TSphereSpecializeSamplingHelper< T, 2 > Struct Template Reference

#include <Sphere.h>

Static Public Member Functions

static FORCEINLINE void ComputeSamplePoints (TArray< TVec2< T > > &Points, const TSphere< T, 2 > &Sphere, const int32 NumPoints)
 
static FORCEINLINE void ComputeGoldenSpiralPoints (TArray< TVec2< T > > &Points, const TSphere< T, 2 > &Sphere, const int32 NumPoints)
 
static FORCEINLINE void ComputeGoldenSpiralPoints (TArray< TVec2< T > > &Points, const TVec2< T > &Center, const T Radius, const int32 NumPoints, const int32 SpiralSeed=0)
 

Member Function Documentation

◆ ComputeGoldenSpiralPoints() [1/2]

template<typename T >
static FORCEINLINE void Chaos::TSphereSpecializeSamplingHelper< T, 2 >::ComputeGoldenSpiralPoints ( TArray< TVec2< T > > &  Points,
const TSphere< T, 2 > &  Sphere,
const int32  NumPoints 
)
inlinestatic

Returns NumPoints points evenly distributed on a 2D Sphere (disk).

◆ ComputeGoldenSpiralPoints() [2/2]

template<typename T >
static FORCEINLINE void Chaos::TSphereSpecializeSamplingHelper< T, 2 >::ComputeGoldenSpiralPoints ( TArray< TVec2< T > > &  Points,
const TVec2< T > &  Center,
const T  Radius,
const int32  NumPoints,
const int32  SpiralSeed = 0 
)
inlinestatic

◆ ComputeSamplePoints()

template<typename T >
static FORCEINLINE void Chaos::TSphereSpecializeSamplingHelper< T, 2 >::ComputeSamplePoints ( TArray< TVec2< T > > &  Points,
const TSphere< T, 2 > &  Sphere,
const int32  NumPoints 
)
inlinestatic

The documentation for this struct was generated from the following file: