Class ShadowCasterGroup2D
Inherited Members
UnityEngine.Component.GetComponentInParent(System.Type, System.Boolean)
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Rendering.Universal
Syntax
[MovedFrom("UnityEngine.Experimental.Rendering.Universal")]
public abstract class ShadowCasterGroup2D : MonoBehaviour
Methods
GetShadowCasters()
Declaration
public List<ShadowCaster2D> GetShadowCasters()
Returns
| Type | Description |
|---|---|
| List<ShadowCaster2D> |
GetShadowGroup()
Declaration
public int GetShadowGroup()
Returns
| Type | Description |
|---|---|
| Int32 |
RegisterShadowCaster2D(ShadowCaster2D)
Declaration
public void RegisterShadowCaster2D(ShadowCaster2D shadowCaster2D)
Parameters
| Type | Name | Description |
|---|---|---|
| ShadowCaster2D | shadowCaster2D |
UnregisterShadowCaster2D(ShadowCaster2D)
Declaration
public void UnregisterShadowCaster2D(ShadowCaster2D shadowCaster2D)
Parameters
| Type | Name | Description |
|---|---|---|
| ShadowCaster2D | shadowCaster2D |