> ## 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.

# API Reference

### LIV.cs

This is the main LIV component.

**Properties**:

| Type               | Name                     | Access     |
| :----------------- | :----------------------- | :--------- |
| Action             | onActivate               | read/write |
| Action             | onDeactivate             | read/write |
| Action\<SDKRender> | onPreRender              | read/write |
| Action\<SDKRender> | onPostRender             | read/write |
| Action\<SDKRender> | onPreRenderForeground    | read/write |
| Action\<SDKRender> | onPostRenderForeground   | read/write |
| Action\<SDKRender> | onPreRenderBackground    | read/write |
| Action\<SDKRender> | onPostRenderBackground   | read/write |
| Action             | onPassthroughActivated   | read/write |
| Action             | onPassthroughDeactivated | read/write |
| Action             | onValidationError        | read/write |
| Transform          | stage                    | read/write |
| Matrix4x4          | stageLocalToWorldMatrix  | readonly   |
| Matrix4x4          | stageWorldToLocalMatrix  | readonly   |
| Transform          | stageTransform           | read/write |
| Camera             | HMDCamera                | read/write |
| Camera             | MRCameraPrefab           | read/write |
| bool               | disableStandardAssets    | read/write |
| LayerMask          | spectatorLayerMask       | read/write |
| LayerMask          | passthroughLayerMask     | read/write |
| string\[]          | excludeBehaviours        | read/write |
| bool               | fixPostEffectsAlpha      | read/write |
| bool               | isActive                 | readonly   |
| SDKRender          | render                   | readonly   |
| string             | trackingID               | readonly   |

### SDKRender.cs

Owner of rendering for the LIV SDK.

**Constructors**:

| Type | Name               | Note                |
| :--- | :----------------- | :------------------ |
| void | SDKRender(LIV liv) | Not for public use. |

**Properties**:

| Type          | Name                    | Access   |
| :------------ | :---------------------- | :------- |
| SDKInputFrame | inputFrame              | readonly |
| Camera        | cameraInstance          | readonly |
| Camera        | cameraReference         | readonly |
| Camera        | hmdCamera               | readonly |
| Transform     | stage                   | readonly |
| Transform     | stageTransform          | readonly |
| Matrix4x4     | stageLocalToWorldMatrix | readonly |
| Matrix4x4     | localToWorldMatrix      | readonly |
| int           | renderingLayerMask      | readonly |
| bool          | disableStandardAssets   | readonly |
| bool          | canSetPose              | readonly |
| bool          | isDisposed              | readonly |

**Public Methods**:

| Type | Name                                                                                                  | Note                                                                                                                                                         |
| :--- | :---------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| void | Render()                                                                                              | Called by LIV SDK                                                                                                                                            |
| bool | SetPose(Vector3 position, Quaternion rotation, float verticalFieldOfView, bool useLocalSpace = false) | Called by the developer. Supports only avatars right now. Default space is world space, when using localSpace the space is relative to Stage/StageTransform. |
| void | Dispose()                                                                                             | Called by LIV SDK                                                                                                                                            |
