Class CoreLightEditorUtilities
Utility class for drawing light Editor gizmos
Namespace: UnityEditor.Rendering
Syntax
public static class CoreLightEditorUtilities
Methods
DrawDirectionalLightGizmo(Light)
Draw a gizmo for a directional light.
Declaration
public static void DrawDirectionalLightGizmo(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light that is used for this gizmo. |
DrawDiscLightGizmo(Light)
Draw a gizmo for a disc light.
Declaration
public static void DrawDiscLightGizmo(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light that is used for this gizmo. |
DrawPointLightGizmo(Light)
Draw a gizmo for a point light.
Declaration
public static void DrawPointLightGizmo(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light that is used for this gizmo. |
DrawRectangleLightGizmo(Light)
Draw a gizmo for an area/rectangle light.
Declaration
public static void DrawRectangleLightGizmo(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light that is used for this gizmo. |
DrawSpotLightGizmo(Light)
Draw a gizmo for a spot light.
Declaration
public static void DrawSpotLightGizmo(Light light)
Parameters
Type | Name | Description |
---|---|---|
Light | light | The light that is used for this gizmo. |