---
title: "lightInfo(_:forLight:at:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.0+]
path: "professional_video_applications/fxlightingapi_v3/lightinfo(_:forlight:at:)"
---

# lightInfo(_:forLight:at:)

Provides information about a light at a particular time.

## Declaration

```swift
func lightInfo(_ light: UnsafeMutablePointer<FxLight>!, forLight lightIndex: Int, at time: CMTime) throws
```

## Parameters

- `light`: A pointer to an FxLight structure to receive information about a particular light in the scene.
- `lightIndex`: The index of the light whose information you wish to retrieve.
- `time`: The time for which you want lighting information.

## See Also

### Getting Lighting Information

- [numberOfLights(at:)](professional_video_applications/fxlightingapi_v3/numberoflights(at:).md)
- [FxLight](professional_video_applications/fxlight.md)
