Legacy Documentation: Version 2017.2 (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

Camera The camera that we wish to change behavior on
Disabled True 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: