![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SphericalFibonacci.h>
Public Types | |
| enum class | EDistribution { Uniform , Cosine } |
Public Member Functions | |
| THemisphericalFibonacci (int32 NumPoints=64, EDistribution Dist=EDistribution::Uniform) | |
| int32 | Num () const |
| TVector< RealType > | Point (int32 Index) const |
| TVector< RealType > | operator[] (int32 Index) const |
Public Attributes | |
| int32 | N = 64 |
| EDistribution | Distribution = EDistribution::Uniform |
A hemisphere point set generated using a Fibonacci lattice where the i'th point of an N point set can be computed directly.
Z is "up" in the hemisphere.
|
strong |
|
inline |
|
inline |
|
inline |
| Index | point index in range [0,Num()-1] |
|
inline |
| Index | point index in range [0,Num()-1] |
| EDistribution UE::Geometry::THemisphericalFibonacci< RealType >::Distribution = EDistribution::Uniform |
| int32 UE::Geometry::THemisphericalFibonacci< RealType >::N = 64 |