Class HDLightUtils
Utility class for lights.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class HDLightUtils
Methods
GetIESProfile(Light)
Get IES Object for Point, Spot or Rectangular light.
Declaration
public static IESObject GetIESProfile(Light light)
Parameters
| Type | Name | Description |
|---|---|---|
| Light | light | The light. |
Returns
| Type | Description |
|---|---|
| IESObject | The IES Profile Object assigned on the light. |
SetIESProfile(Light, IESObject)
Set IES Object for Point, Spot or Rectangular light.
Declaration
public static void SetIESProfile(Light light, IESObject profile)
Parameters
| Type | Name | Description |
|---|---|---|
| Light | light | The light to modify. |
| IESObject | profile | The IES profile to set. |