TSphereSpecializeSamplingHelper< T, 2 >

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/Sphere.h"

Syntax

template<typename T>
struct TSphereSpecializeSamplingHelper< T, 2 >

Functions

Name Description

Public function Static

void

 

ComputeGoldenSpiralPoints

(
    TArray< TVec2< T >>& Points,
    const TSphere< T, 2 >& Sphere,
    const int32 NumPoints
)

Returns NumPoints_ points evenly distributed on a 2D Sphere_ (disk).

Public function Static

void

 

ComputeGoldenSpiralPoints

(
    TArray< TVec2< T >>& Points,
    const TVec2< T >& Center,
    const T Radius,
    const int32 NumPoints,
    const int32 SpiralSeed
)

Public function Static

void

 

ComputeSamplePoints

(
    TArray< TVec2< T >>& Points,
    const TSphere< T, 2 >& Sphere,
    const int32 NumPoints
)

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