UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FLumenCard Class Reference

#include <LumenSceneData.h>

Classes

struct  FSurfaceStats
 

Public Member Functions

 FLumenCard ()
 
 ~FLumenCard ()
 
void Initialize (float InResolutionScale, uint32 CustomId, const FMatrix &LocalToWorld, const FLumenMeshCards &InMeshCardsInstance, const FLumenCardBuildData &CardBuildData, int32 InIndexInMeshCards, int32 InMeshCardsIndex, uint8 InIndexInBuildData)
 
void SetTransform (const FMatrix &LocalToWorld, const FLumenMeshCards &MeshCards)
 
void UpdateMinMaxAllocatedLevel ()
 
bool IsAllocated () const
 
void GetSurfaceStats (const TSparseSpanArray< FLumenPageTableEntry > &PageTable, FSurfaceStats &Stats) const
 
FLumenSurfaceMipMapGetMipMap (int32 ResLevel)
 
FIntPoint ResLevelToResLevelXYBias () const
 
void GetMipMapDesc (int32 ResLevel, FLumenMipMapDesc &Desc) const
 
const FLumenSurfaceMipMapGetMipMap (int32 ResLevel) const
 

Public Attributes

FLumenCardOBBf LocalOBB
 
FLumenCardOBBd WorldOBB
 
FLumenCardOBBf MeshCardsOBB
 
bool bVisible = false
 
bool bHeightfield = false
 
bool bAxisXFlipped = false
 
ELumenCardDilationMode DilationMode = ELumenCardDilationMode::Disabled
 
uint8 MinAllocatedResLevel = UINT8_MAX
 
uint8 MaxAllocatedResLevel = 0
 
uint8 DesiredLockedResLevel = 0
 
FLumenSurfaceMipMap SurfaceMipMaps [Lumen::NumResLevels]
 
int32 MeshCardsIndex = -1
 
int32 IndexInMeshCards = -1
 
uint8 IndexInBuildData = UINT8_MAX
 
uint8 AxisAlignedDirectionIndex = UINT8_MAX
 
float ResolutionScale = 1.0f
 
float CardAspect = 1.0f
 
FLumenCardId CardSharingId = FLumenCardId::GetInvalidId()
 
int32 CardSharingListIndex = INDEX_NONE
 

Constructor & Destructor Documentation

◆ FLumenCard()

FLumenCard::FLumenCard ( )

◆ ~FLumenCard()

FLumenCard::~FLumenCard ( )

Member Function Documentation

◆ GetMipMap() [1/2]

FLumenSurfaceMipMap & FLumenCard::GetMipMap ( int32  ResLevel)
inline

◆ GetMipMap() [2/2]

const FLumenSurfaceMipMap & FLumenCard::GetMipMap ( int32  ResLevel) const
inline

◆ GetMipMapDesc()

void FLumenCard::GetMipMapDesc ( int32  ResLevel,
FLumenMipMapDesc Desc 
) const

◆ GetSurfaceStats()

void FLumenCard::GetSurfaceStats ( const TSparseSpanArray< FLumenPageTableEntry > &  PageTable,
FSurfaceStats Stats 
) const

◆ Initialize()

void FLumenCard::Initialize ( float  InResolutionScale,
uint32  CustomId,
const FMatrix LocalToWorld,
const FLumenMeshCards InMeshCardsInstance,
const FLumenCardBuildData CardBuildData,
int32  InIndexInMeshCards,
int32  InMeshCardsIndex,
uint8  InIndexInBuildData 
)

◆ IsAllocated()

bool FLumenCard::IsAllocated ( ) const
inline

◆ ResLevelToResLevelXYBias()

FIntPoint FLumenCard::ResLevelToResLevelXYBias ( ) const

◆ SetTransform()

void FLumenCard::SetTransform ( const FMatrix LocalToWorld,
const FLumenMeshCards MeshCards 
)

◆ UpdateMinMaxAllocatedLevel()

void FLumenCard::UpdateMinMaxAllocatedLevel ( )

Member Data Documentation

◆ AxisAlignedDirectionIndex

uint8 FLumenCard::AxisAlignedDirectionIndex = UINT8_MAX

◆ bAxisXFlipped

bool FLumenCard::bAxisXFlipped = false

◆ bHeightfield

bool FLumenCard::bHeightfield = false

◆ bVisible

bool FLumenCard::bVisible = false

◆ CardAspect

float FLumenCard::CardAspect = 1.0f

◆ CardSharingId

FLumenCardId FLumenCard::CardSharingId = FLumenCardId::GetInvalidId()

◆ CardSharingListIndex

int32 FLumenCard::CardSharingListIndex = INDEX_NONE

◆ DesiredLockedResLevel

uint8 FLumenCard::DesiredLockedResLevel = 0

◆ DilationMode

◆ IndexInBuildData

uint8 FLumenCard::IndexInBuildData = UINT8_MAX

◆ IndexInMeshCards

int32 FLumenCard::IndexInMeshCards = -1

◆ LocalOBB

FLumenCardOBBf FLumenCard::LocalOBB

◆ MaxAllocatedResLevel

uint8 FLumenCard::MaxAllocatedResLevel = 0

◆ MeshCardsIndex

int32 FLumenCard::MeshCardsIndex = -1

◆ MeshCardsOBB

FLumenCardOBBf FLumenCard::MeshCardsOBB

◆ MinAllocatedResLevel

uint8 FLumenCard::MinAllocatedResLevel = UINT8_MAX

◆ ResolutionScale

float FLumenCard::ResolutionScale = 1.0f

◆ SurfaceMipMaps

FLumenSurfaceMipMap FLumenCard::SurfaceMipMaps[Lumen::NumResLevels]

◆ WorldOBB

FLumenCardOBBd FLumenCard::WorldOBB

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