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