---
title: Fx3DAPI_v5
framework: Professional Video Applications
role: symbol
role_heading: Protocol
platforms: [fxplug 4.1+]
path: professional_video_applications/fx3dapi_v5
---

# Fx3DAPI_v5

An API that defines the methods the host application provides to get information about the 3D environment, including camera and object transforms.

## Declaration

```swift
protocol Fx3DAPI_v5
```

## Topics

### Accessing the 3D Environment

- [focalLength(at:error:)](professional_video_applications/fx3dapi_v5/focallength(at:error:).md)
- [layerMatrix(at:)](professional_video_applications/fx3dapi_v5/layermatrix(at:).md)
- [viewMatrix(at:)](professional_video_applications/fx3dapi_v5/viewmatrix(at:).md)
- [metalProjectionMatrix(at:)](professional_video_applications/fx3dapi_v5/metalprojectionmatrix(at:).md)
- [frustumLeft(_:right:bottom:top:near:far:at:)](professional_video_applications/fx3dapi_v5/frustumleft(_:right:bottom:top:near:far:at:).md)

## See Also

### 3D and lighting

- [FxLightingAPI_v3](professional_video_applications/fxlightingapi_v3.md)
- [FxMatrix44](professional_video_applications/fxmatrix44.md)
