Method OnBeforeRender
OnBeforeRender(in Component, in Bounds, ShadowShape2D)
Called before 2D lighting is rendered each frame
선언
public abstract void OnBeforeRender(in Component sourceComponent, in Bounds worldCullingBounds, ShadowShape2D persistantShadowShape)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Component | sourceComponent | The component associated with the provider |
| Bounds | worldCullingBounds | The bounds enclosing the region of the view frustum and all visible lights |
| ShadowShape2D | persistantShadowShape | An instance of |