Class ShadowShape2DProvider
Class ShadowShape2DProvider has methods called by a ShadowCaster2D to determine if it should be listed as a Casting Option, and to provide geometry if it is the active ShadowShape2DProvider
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.2D.Runtime.dll
Syntax
[Serializable]
public abstract class ShadowShape2DProvider
Methods
| Name | Description |
|---|---|
| Disabled(in Component) | Called for the active |
| Enabled(in Component) | Called for the active |
| IsShapeSource(in Component) | Called for each component on a |
| OnBeforeRender(in Component, in Bounds, ShadowShape2D) | Called before 2D lighting is rendered each frame |
| OnPersistantDataCreated(in Component, ShadowShape2D) | Called when the |
| Priority() | Gets the priority to be listed in the |
| ProviderName(string) | Gets the name to be listed in the |