LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

XRDevice.DisableAutoXRCameraTracking(Camera, Disabled)

Parameters

CameraThe camera that we wish to change behavior on
DisabledTrue if the camera's transform is set externally. False if the camera is to be driven implicitly by XRDevice,

Returns

void Nothing.

Description

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