---
title: FxLightingAPI_v3
framework: Professional Video Applications
role: symbol
role_heading: Protocol
platforms: [fxplug 4.0+]
path: professional_video_applications/fxlightingapi_v3
---

# FxLightingAPI_v3

An API you use to get information about lights in a scene in a Motion project.

## Declaration

```swift
protocol FxLightingAPI_v3
```

## Overview

Overview This API provides a plug-in with the number of lights in a scene, as well as information about each light at a given time. A plug-in only has access to lights that are in the same group as the plug-in or a subgroup of such a group.

## Topics

### Getting Lighting Information

- [lightInfo(_:forLight:at:)](professional_video_applications/fxlightingapi_v3/lightinfo(_:forlight:at:).md)
- [numberOfLights(at:)](professional_video_applications/fxlightingapi_v3/numberoflights(at:).md)
- [FxLight](professional_video_applications/fxlight.md)

### Constants

- [kFxLight_V3](professional_video_applications/kfxlight_v3.md)
- [FxLight_CurrentVersion](professional_video_applications/fxlight_currentversion.md)
- [FxLight](professional_video_applications/fxlight.md)
- [FxLightType](professional_video_applications/fxlighttype.md)

## See Also

### 3D and lighting

- [Fx3DAPI_v5](professional_video_applications/fx3dapi_v5.md)
- [FxMatrix44](professional_video_applications/fxmatrix44.md)
