Class KhrLightsPunctual
Provides conversion from Unity light components to glTF lights.
Inherited Members
Namespace: GLTFast.Export
Assembly: glTFast.Export.dll
Syntax
public static class KhrLightsPunctual
Methods
ConvertToLight(Light)
Converts a Unity light component to a glTF light.
Declaration
public static LightPunctual ConvertToLight(Light uLight)
Parameters
Type | Name | Description |
---|---|---|
Light | uLight | Unity light component. |
Returns
Type | Description |
---|---|
LightPunctual | glTF light. |