Extract
Extracts informations from Lights.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.GlobalIllumination
- Assembly: UnityEngine.CoreModule
Extract(LightmapBakeType)
Extracts informations from Lights.
public static LightMode Extract(LightmapBakeType baketype)
Parameters
The lights baketype.
Returns
Type | Description |
|---|---|
| LightMode | Returns the light's light mode. |
Extract(Light, DirectionalLight)
Extract type specific information from Lights.
public static void Extract(Light l, ref DirectionalLight dir)
Parameters
Extract(Light, PointLight)
Extract type specific information from Lights.
public static void Extract(Light l, ref PointLight point)
Parameters
Extract(Light, SpotLight)
Extract type specific information from Lights.
public static void Extract(Light l, ref SpotLight spot)
Parameters
Extract(Light, RectangleLight)
Extract type specific information from Lights.
public static void Extract(Light l, ref RectangleLight rect)
Parameters
Extract(Light, DiscLight)
Extracts informations from Lights.
public static void Extract(Light l, ref DiscLight disc)
Parameters
Extract(Light, Cookie)
Extracts informations from Lights.
public static void Extract(Light l, out Cookie cookie)