FLocalLightSceneProxy

The parts of the point light scene info that aren't dependent on the light policy type.

Windows
MacOS
Linux

Inheritance Hierarchy

FLightSceneProxy

FLocalLightSceneProxy

FRectLightSceneProxy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/LocalLightSceneProxy.h

Include

#include "LocalLightSceneProxy.h"

Syntax

class FLocalLightSceneProxy : public FLightSceneProxy

Remarks

The parts of the point light scene info that aren't dependent on the light policy type.

Variables

Name Description

Protected variable

float

 

FadeRange

Public variable

float

 

InvRadius

One over the light's radius.

Protected variable

float

 

MaxDrawDistance

Public variable

float

 

Radius

The light radius.

Constructors

Name Description

Public function

FLocalLightSceneProxy

(
    const ULocalLightComponent* Co...
)

Initialization constructor.

Functions

Name Description

Public function Virtual Const

FVector

 

GetPerObjectProjectedShadowProjectionPoint

(
    const FBoxSphereBounds& SubjectBou...
)

Protected function

void

 

UpdateRadius

(
    float ComponentRadius
)

Updates the light scene info's radius from the component.

Public function

void

 

UpdateRadius_GameThread

(
    float Radius
)

Called on the light scene info after it has been passed to the rendering thread to update the rendering thread's cached info when the light's radius changes.

Overridden from FLightSceneProxy

Name Description

Public function Virtual Const

bool

 

AffectsBounds

(
    const FBoxSphereBounds& Bounds
)

Tests whether the light affects the given bounding volume.

Public function Virtual Const

FSphere

 

GetBoundingSphere()

Public function Virtual Const

float

 

GetEffectiveScreenRadius

(
    const FViewMatrices& ShadowViewMat...
)

Public function Virtual Const

float

 

GetFadeRange()

Public function Virtual Const

float

 

GetMaxDrawDistance()

Public function Virtual Const

bool

 

GetPerObjectProjectedShadowInitializer

(
    const FBoxSphereBounds& SubjectBou...,
    FPerObjectProjectedShadowInitialize...
)

Sets up a projected shadow initializer for the given subject.

Public function Virtual Const

float

 

GetRadius()

Public function Virtual Const

bool

 

GetScissorRect

(
    FIntRect& ScissorRect,
    const FSceneView& View,
    const FIntRect& ViewRect
)

Public function Virtual Const

bool

 

SetScissorRect

(
    FRHICommandList& RHICmdList,
    const FSceneView& View,
    const FIntRect& ViewRect,
    FIntRect* OutScissorRect
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss