> ## Documentation Index
> Fetch the complete documentation index at: https://docs.liv.tv/llms.txt
> Use this file to discover all available pages before exploring further.

# ILckCamera

> API reference for the ILckCamera interface in the LIV Camera Kit (LCK) Unity SDK, defining the contract for cameras that can be activated and deactivated with RenderTexture output targets in the capture system.

## Description

`ILckCamera` defines the contract for cameras managed within LCK. It ensures every camera has a unique identifier (`CameraId`), can be activated or deactivated with a `RenderTexture` as its output target, and exposes its Unity `Camera` component for direct access.

Within LCK, this interface allows the service ([`ILckService`](/api-reference/unity/ILckService)) and mediator components to register, switch, and control cameras in a consistent way, regardless of whether the implementation is the built-in [`LckCamera`](/api-reference/unity/LckCamera) or a custom one.

***

## Usage

To use a camera with the system, implement `ILckCamera` in your own component. See [`LckCamera`](/api-reference/unity/LckCamera) for a reference implementation.

***

## Properties

| Property | Type   | Description                                |
| :------- | :----- | :----------------------------------------- |
| CameraId | string | Unique identifier for this camera instance |

***

## Methods

| Method                        | Returns | Description                                                        |
| :---------------------------- | :------ | :----------------------------------------------------------------- |
| ActivateCamera(RenderTexture) | void    | Activates the camera and sets its render target.                   |
| DeactivateCamera()            | void    | Deactivates the camera and clears its render target.               |
| GetCameraComponent()          | Camera  | Returns the underlying Unity `Camera` component for direct access. |
