Method ToUnityLight
ToUnityLight(LightPunctual, Light, float)
Initialize a UnityEngine.Light from a LightsPunctual
Declaration
public static void ToUnityLight(this LightPunctual lightSource, Light lightDestination, float lightIntensityFactor)
Parameters
| Type | Name | Description |
|---|---|---|
| LightPunctual | lightSource | light to get data from |
| Light | lightDestination | light to initialize |
| float | lightIntensityFactor | light intensity conversion factor |