Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

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

Did you find this page useful? Please give it a rating: