LightDescription
Represents light information from an imported file.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEditor.AssetImporters
- Assembly: UnityEditor
- Implements: IDisposable
public class LightDescription : IDisposable
Constructors
Constructor | Description |
|---|---|
| LightDescription() | Initializes and returns an instance of LightDescription. |
Methods
Method | Description |
|---|---|
| Dispose | Disposes of the LightDescription instance. This clears any resources that the instance was using. |
| GetFloatPropertyNames | Retrieves the property names of type float for this light. |
| GetIntPropertyNames | Retrieves the property names of type int for this light. |
| GetStringPropertyNames | Retrieves the property names of type string for this light. |
| GetVector4PropertyNames | Retrieves the property names of type Vector4 for this light. |
| HasAnimationCurve | Checks if a light property is animated in a any AnimationClip. |
| HasAnimationCurveInClip | Checks if a light property is animated in a specific AnimationClip. |
| TryGetAnimationCurve | Retrieves the AnimationCurve for an animated light property in a specific AnimationClip. |
| TryGetProperty | Retrieves the value of a specified light property. |