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

#include <LightSceneInfo.h>

Public Member Functions

void Init (FLightSceneInfo *InLightSceneInfo)
 
 FLightSceneInfoCompact ()
 
 FLightSceneInfoCompact (FLightSceneInfo *InLightSceneInfo)
 
bool AffectsPrimitive (const FBoxSphereBounds &PrimitiveBounds, const FPrimitiveSceneProxy *PrimitiveSceneProxy) const
 

Public Attributes

VectorRegister BoundingSphereVector
 
FLinearColor Color
 
FLightSceneInfoLightSceneInfo
 
uint32 LightType: LightType_NumBits
 
uint32 bCastDynamicShadow: 1
 
uint32 bCastStaticShadow: 1
 
uint32 bStaticLighting: 1
 
uint32 bAffectReflection: 1
 
uint32 bAffectGlobalIllumination: 1
 
uint32 bIsMovable: 1
 
uint32 bAllowMegaLights: 1
 
TEnumAsByte< EMegaLightsShadowMethod::TypeMegaLightsShadowMethod
 
TEnumAsByte< ECastRayTracedShadow::TypeCastRaytracedShadow
 

Detailed Description

The information needed to cull a light-primitive interaction.

Constructor & Destructor Documentation

◆ FLightSceneInfoCompact() [1/2]

FLightSceneInfoCompact::FLightSceneInfoCompact ( )
inline

Default constructor.

◆ FLightSceneInfoCompact() [2/2]

FLightSceneInfoCompact::FLightSceneInfoCompact ( FLightSceneInfo InLightSceneInfo)
inline

Initialization constructor.

Member Function Documentation

◆ AffectsPrimitive()

bool FLightSceneInfoCompact::AffectsPrimitive ( const FBoxSphereBounds PrimitiveBounds,
const FPrimitiveSceneProxy PrimitiveSceneProxy 
) const

Tests whether this light affects the given primitive. This checks both the primitive and light settings for light relevance and also calls AffectsBounds.

Parameters
CompactPrimitiveSceneInfo- The primitive to test.
Returns
True if the light affects the primitive.

◆ Init()

void FLightSceneInfoCompact::Init ( FLightSceneInfo InLightSceneInfo)

Initializes the compact scene info from the light's full scene info.

Member Data Documentation

◆ bAffectGlobalIllumination

uint32 FLightSceneInfoCompact::bAffectGlobalIllumination

◆ bAffectReflection

uint32 FLightSceneInfoCompact::bAffectReflection

◆ bAllowMegaLights

uint32 FLightSceneInfoCompact::bAllowMegaLights

◆ bCastDynamicShadow

uint32 FLightSceneInfoCompact::bCastDynamicShadow

◆ bCastStaticShadow

uint32 FLightSceneInfoCompact::bCastStaticShadow

◆ bIsMovable

uint32 FLightSceneInfoCompact::bIsMovable

◆ BoundingSphereVector

VectorRegister FLightSceneInfoCompact::BoundingSphereVector

◆ bStaticLighting

uint32 FLightSceneInfoCompact::bStaticLighting

◆ CastRaytracedShadow

TEnumAsByte<ECastRayTracedShadow::Type> FLightSceneInfoCompact::CastRaytracedShadow

◆ Color

FLinearColor FLightSceneInfoCompact::Color

◆ LightSceneInfo

FLightSceneInfo* FLightSceneInfoCompact::LightSceneInfo

◆ LightType

uint32 FLightSceneInfoCompact::LightType

◆ MegaLightsShadowMethod

TEnumAsByte<EMegaLightsShadowMethod::Type> FLightSceneInfoCompact::MegaLightsShadowMethod

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