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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback