Extract
Extracts informations from Lights.
阅读时间1 分钟最后更新于 1 个月前
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)