# GetStereoViewMatrix(StereoscopicEye)

> Gets the left or right view matrix of a specific stereoscopic eye.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public Matrix4x4 GetStereoViewMatrix(Camera.StereoscopicEye eye)
```

### Parameters

**** (\[StereoscopicEye]\(/engine/6000.0/script-reference/unityengine/camera/stereoscopiceye)): Specifies the stereoscopic eye whose view matrix needs to be returned.

### Returns

| Type                                                                  | Description                                        |
| --------------------------------------------------------------------- | -------------------------------------------------- |
| [Matrix4x4](/engine/6000.0/script-reference/unityengine/matrix4x4.md) | The view matrix of the specified stereoscopic eye. |

### Remarks

The view matrix will be provided by the VR SDK unless [Camera.SetStereoViewMatrix](/engine/6000.0/script-reference/unityengine/camera/setstereoviewmatrix.md) or [Camera.SetStereoViewMatrices](/engine/6000.0/script-reference/unityengine/camera/setstereoviewmatrices.md) have been used, in which case this method will return the value given to those methods. You can use [Camera.ResetStereoViewMatrices](/engine/6000.0/script-reference/unityengine/camera/resetstereoviewmatrices.md) to revert the camera to using view matrices provided by the VR SDK.
