# DisableAutoXRCameraTracking(Camera, bool)

> Sets whether the camera passed in the first parameter is controlled implicitly by the XR Device

## Definition

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

```csharp
public static void DisableAutoXRCameraTracking(Camera camera, bool disabled)
```

### Parameters

**** (\[Camera]\(/engine/6000.0/script-reference/unityengine/camera)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;
