UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TFibonacciLattice< RealType > Class Template Reference

#include <SphericalFibonacci.h>

Public Types

enum class  EType { Square , Disc }
 

Public Member Functions

 TFibonacciLattice (int32 NumPoints=64, EType InType=EType::Square)
 
int32 Num () const
 
TVector2< RealType > Point (int32 Index) const
 
TVector2< RealType > operator[] (int32 Index) const
 

Public Attributes

int32 N = 64
 
EType Type = EType::Square
 

Detailed Description

template<typename RealType>
class UE::Geometry::TFibonacciLattice< RealType >

A 2D point set based on the Fibonacci sequence where the i'th point of an N point set can be directly computed.

Reference: Spherical Fibonacci Point Sets for Illumination Integrals https://repositori.upf.edu/bitstream/handle/10230/35552/marques_CGForum32_sphe.pdf?sequence=1&isAllowed=y

Member Enumeration Documentation

◆ EType

template<typename RealType >
enum class UE::Geometry::TFibonacciLattice::EType
strong
Enumerator
Square 
Disc 

Constructor & Destructor Documentation

◆ TFibonacciLattice()

template<typename RealType >
UE::Geometry::TFibonacciLattice< RealType >::TFibonacciLattice ( int32  NumPoints = 64,
EType  InType = EType::Square 
)
inline

Member Function Documentation

◆ Num()

template<typename RealType >
int32 UE::Geometry::TFibonacciLattice< RealType >::Num ( ) const
inline

◆ operator[]()

template<typename RealType >
TVector2< RealType > UE::Geometry::TFibonacciLattice< RealType >::operator[] ( int32  Index) const
inline
Parameters
Indexpoint index in range [0,Num()-1]
Returns
sphere point for given Index

◆ Point()

template<typename RealType >
TVector2< RealType > UE::Geometry::TFibonacciLattice< RealType >::Point ( int32  Index) const
inline
Parameters
Indexpoint index in range [0,Num()-1]
Returns
sphere point for given Index

Member Data Documentation

◆ N

template<typename RealType >
int32 UE::Geometry::TFibonacciLattice< RealType >::N = 64

◆ Type

template<typename RealType >
EType UE::Geometry::TFibonacciLattice< RealType >::Type = EType::Square

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