Navigation
API > API/Runtime > API/Runtime/Engine
The parts of the point light scene info that aren't dependent on the light policy type.
| Name | FLocalLightSceneProxy |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/LocalLightSceneProxy.h |
| Include Path | #include "LocalLightSceneProxy.h" |
Syntax
class FLocalLightSceneProxy : public FLightSceneProxy
Inheritance Hierarchy
- FLightSceneProxyFixLayout → FLightSceneProxy → FLocalLightSceneProxy
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLocalLightSceneProxy
(
const ULocalLightComponent* Component |
Initialization constructor. | LocalLightSceneProxy.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InvRadius | float | One over the light's radius. | LocalLightSceneProxy.h | |
| Radius | float | The light radius. | LocalLightSceneProxy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector GetPerObjectProjectedShadowProjectionPoint
(
const FBoxSphereBounds& SubjectBounds |
LocalLightSceneProxy.h | ||
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. | LocalLightSceneProxy.h |
Overridden from FLightSceneProxy
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AffectsBounds
(
const FBoxSphereBounds& Bounds |
Tests whether the light affects the given bounding volume. | LocalLightSceneProxy.h | |
virtual FSphere GetBoundingSphere() |
LocalLightSceneProxy.h | ||
virtual float GetEffectiveScreenRadius
(
const FViewMatrices& ShadowViewMatrices |
LocalLightSceneProxy.h | ||
virtual float GetEffectiveScreenRadius
(
const FViewMatrices& ShadowViewMatrices, |
TODO: refactor this to move into the shadow scene renderer. | LocalLightSceneProxy.h | |
virtual float GetFadeRange() |
LocalLightSceneProxy.h | ||
virtual float GetMaxDrawDistance() |
LocalLightSceneProxy.h | ||
virtual bool GetPerObjectProjectedShadowInitializer
(
const FBoxSphereBounds& SubjectBounds, |
Sets up a projected shadow initializer for the given subject. | LocalLightSceneProxy.h | |
virtual float GetRadius() |
LocalLightSceneProxy.h | ||
virtual bool GetScissorRect
(
FIntRect& ScissorRect, |
LocalLightSceneProxy.h | ||
virtual bool IsLocalLight() |
LocalLightSceneProxy.h | ||
virtual bool SetScissorRect
(
FRHICommandList& RHICmdList, |
LocalLightSceneProxy.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateRadius
(
float ComponentRadius |
Updates the light scene info's radius from the component. | LocalLightSceneProxy.h |