# 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.3/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.VRModule

> **Warning:**
>
> **Deprecated.** UnityEngine.VRModule is deprecated and will be removed in a future version. Please use the APIs in the UnityEngine.XRModule instead

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

### Parameters

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