Class LightPunctualExtension
Extension methods for LightPunctual
Inherited Members
Namespace: GLTFast
Assembly: glTFast.dll
Syntax
public static class LightPunctualExtension
Methods
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 |
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 |