Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DisableAutoXRCameraTracking(Camera, bool)

Sets whether the camera passed in the first parameter is controlled implicitly by the XR Device
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • 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
public static void DisableAutoXRCameraTracking(Camera camera, bool disabled)

Parameters

camera


disabled