Navigation
API > API/Runtime > API/Runtime/Engine
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
| Type | Name | Description | |
|---|---|---|---|
| float | FadeRange | ||
| float | InverseExposureBlend | ||
| float | InvRadius | One over the light's radius. | |
| float | MaxDrawDistance | ||
| float | Radius | The light radius. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLocalLightSceneProxy
(
const ULocalLightComponent* Component |
Initialization constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetPerObjectProjectedShadowProjectionPoint
(
const FBoxSphereBounds& SubjectBounds |
||
| void | UpdateRadius
(
float ComponentRadius |
Updates the light scene info's radius from the component. | |
| 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
| Type | Name | Description | |
|---|---|---|---|
| bool | AffectsBounds
(
const FBoxSphereBounds& Bounds |
Tests whether the light affects the given bounding volume. | |
| FSphere | |||
| float | GetEffectiveScreenRadius
(
const FViewMatrices& ShadowViewMatrices, |
TODO: refactor this to move into the shadow scene renderer. | |
| float | GetFadeRange () |
||
| float | |||
| bool | GetPerObjectProjectedShadowInitializer
(
const FBoxSphereBounds& SubjectBounds, |
Sets up a projected shadow initializer for the given subject. | |
| float | GetRadius () |
||
| bool | GetScissorRect
(
FIntRect& ScissorRect, |
||
| bool | IsLocalLight () |
||
| bool | SetScissorRect
(
FRHICommandList& RHICmdList, |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetEffectiveScreenRadius
(
const FViewMatrices& ShadowViewMatrices |
The GetEffectiveScreenRadius() that uses the screen-percentage scaled view rect (above) is used now. |