Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FPrimitiveSceneProxy
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/PrimitiveSceneProxy.h |
| Include | #include "PrimitiveSceneProxy.h" |
virtual void OnDetachLight
&40;
const FLightSceneInfo &42; Light
&41;
Remarks
Called by the rendering thread to notify the proxy when a light is no longer associated with the proxy, so that it can clean up any cached resources.
Parameters
| Name | Description |
|---|---|
| Light | The light to be removed. |