![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LightSceneInfo.h>
Public Member Functions | |
| void | Init (FLightSceneInfo *InLightSceneInfo) |
| FLightSceneInfoCompact () | |
| FLightSceneInfoCompact (FLightSceneInfo *InLightSceneInfo) | |
| bool | AffectsPrimitive (const FBoxSphereBounds &PrimitiveBounds, const FPrimitiveSceneProxy *PrimitiveSceneProxy) const |
The information needed to cull a light-primitive interaction.
|
inline |
Default constructor.
|
inline |
Initialization constructor.
| 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.
| CompactPrimitiveSceneInfo | - The primitive to test. |
| void FLightSceneInfoCompact::Init | ( | FLightSceneInfo * | InLightSceneInfo | ) |
Initializes the compact scene info from the light's full scene info.
| uint32 FLightSceneInfoCompact::bAffectGlobalIllumination |
| uint32 FLightSceneInfoCompact::bAffectReflection |
| uint32 FLightSceneInfoCompact::bAllowMegaLights |
| uint32 FLightSceneInfoCompact::bCastDynamicShadow |
| uint32 FLightSceneInfoCompact::bCastStaticShadow |
| uint32 FLightSceneInfoCompact::bIsMovable |
| VectorRegister FLightSceneInfoCompact::BoundingSphereVector |
| uint32 FLightSceneInfoCompact::bStaticLighting |
| TEnumAsByte<ECastRayTracedShadow::Type> FLightSceneInfoCompact::CastRaytracedShadow |
| FLinearColor FLightSceneInfoCompact::Color |
| FLightSceneInfo* FLightSceneInfoCompact::LightSceneInfo |
| uint32 FLightSceneInfoCompact::LightType |
| TEnumAsByte<EMegaLightsShadowMethod::Type> FLightSceneInfoCompact::MegaLightsShadowMethod |