Class ShadowCasterGroup2D
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
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 |
---|---|
int |
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 |