# LightDescription

> Represents light information from an imported file.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.AssetImporters](/engine/6000.7/script-reference/unityeditor/assetimporters.md)
* **Assembly:** UnityEditor.CoreModule
* **Implements:** [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

```csharp
public class LightDescription : IDisposable
```

## Constructors

| Constructor                                                                                               | Description                                              |
| --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| [LightDescription()](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/ctor.md) | Initializes and returns an instance of LightDescription. |

## Methods

| Method                                                                                                                            | Description                                                                                       |
| --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [Dispose](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/dispose.md)                                 | Disposes of the LightDescription instance. This clears any resources that the instance was using. |
| [GetFloatPropertyNames](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/getfloatpropertynames.md)     | Retrieves the property names of type float for this light.                                        |
| [GetIntPropertyNames](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/getintpropertynames.md)         | Retrieves the property names of type int for this light.                                          |
| [GetStringPropertyNames](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/getstringpropertynames.md)   | Retrieves the property names of type string for this light.                                       |
| [GetVector4PropertyNames](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/getvector4propertynames.md) | Retrieves the property names of type Vector4 for this light.                                      |
| [HasAnimationCurve](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/hasanimationcurve.md)             | Checks if a light property is animated in a any AnimationClip.                                    |
| [HasAnimationCurveInClip](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/hasanimationcurveinclip.md) | Checks if a light property is animated in a specific AnimationClip.                               |
| [TryGetAnimationCurve](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/trygetanimationcurve.md)       | Retrieves the AnimationCurve for an animated light property in a specific AnimationClip.          |
| [TryGetProperty](/engine/6000.7/script-reference/unityeditor/assetimporters/lightdescription/trygetproperty.md)                   | Retrieves the value of a specified light property.                                                |
