Class UniversalAdditionalLightData
Class containing various additional light data used by URP.
Inherited Members
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[DisallowMultipleComponent]
[RequireComponent(typeof(Light))]
public class UniversalAdditionalLightData : MonoBehaviour, ISerializationCallbackReceiver, IAdditionalData
Fields
Name | Description |
---|---|
Additional |
The default custom shadow resolution for additional lights. |
Additional |
The default shadow resolution tier for additional lights. |
Additional |
The minimum shadow resolution for additional lights. |
Additional |
Value used to indicate custom shadow resolution tier for additional lights. |
Additional |
Value used to indicate high shadow resolution tier for additional lights. |
Additional |
Value used to indicate low shadow resolution tier for additional lights. |
Additional |
Value used to indicate medium shadow resolution tier for additional lights. |
Properties
Name | Description |
---|---|
additional |
Returns the selected shadow resolution tier. |
custom |
Indicates whether shadows need custom layers. If not, then it uses the same settings as lightLayerMask. |
light |
Controls the offset of the cookie mask currently assigned to the light. |
light |
Controls the size of the cookie mask currently assigned to the light. |
rendering |
Specifies which rendering layers this light will affect. |
shadow |
Specifies which rendering layers this light shadows will affect. |
soft |
Light soft shadow filtering quality. |
use |
Controls if light Shadow Bias parameters use pipeline settings or not. |
Methods
Name | Description |
---|---|
On |
|
On |