Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
super();
var sharedProps = {
apiKey:"7EEDCB99-2C3B-4681-AE17-17BC165BF792",
}
console.log("Config.FLAVOR - " + Config.VR_PLATFORM);
this.state = {
navigatorType : Config.VR_PLATFORM == "OVR_MOBILE" ? VR_NAVIGATOR_TYPE : UNSET,
sharedProps : sharedProps,
vrMode : Config.FLAVOR == "ovr" ? true : UNSET,
worldAlignment : UNSET,
autofocus : true,
videoQualityHigh : true,
initial3DScene : UNSET,
numberOfTrackedImages: 0,
initialScene: null,
}
this._getSelectionButtons = this._getSelectionButtons.bind(this);
this._getARNavigator = this._getARNavigator.bind(this);
this._getVRNavigator = this._getVRNavigator.bind(this);
this._get3DSceneNavigator = this._get3DSceneNavigator.bind(this);
this._getButtonPress = this._getButtonPress.bind(this);
constructor() {
super();
var sharedProps = {
apiKey:"7EEDCB99-2C3B-4681-AE17-17BC165BF792",
}
console.log("Config.FLAVOR - " + Config.VR_PLATFORM);
this.state = {
navigatorType : Config.VR_PLATFORM == "OVR_MOBILE" ? VR_NAVIGATOR_TYPE : UNSET,
sharedProps : sharedProps,
vrMode : Config.FLAVOR == "ovr" ? true : UNSET,
worldAlignment : UNSET,
}
this._getSelectionButtons = this._getSelectionButtons.bind(this);
this._getARNavigator = this._getARNavigator.bind(this);
this._getVRNavigator = this._getVRNavigator.bind(this);
this._getButtonPress = this._getButtonPress.bind(this);
}
render() {
constructor() {
super();
var sharedProps = {
apiKey:"7EEDCB99-2C3B-4681-AE17-17BC165BF792",
}
console.log("Config.FLAVOR - " + Config.VR_PLATFORM);
this.state = {
navigatorType : Config.VR_PLATFORM == "OVR_MOBILE" ? VR_NAVIGATOR_TYPE : UNSET,
sharedProps : sharedProps,
vrMode : Config.FLAVOR == "ovr" ? true : UNSET,
worldAlignment : UNSET,
}
this._getSelectionButtons = this._getSelectionButtons.bind(this);
this._getARNavigator = this._getARNavigator.bind(this);
this._getVRNavigator = this._getVRNavigator.bind(this);
this._getButtonPress = this._getButtonPress.bind(this);
}
render() {
constructor() {
super();
var sharedProps = {
apiKey:"7EEDCB99-2C3B-4681-AE17-17BC165BF792",
}
console.log("Config.FLAVOR - " + Config.VR_PLATFORM);
this.state = {
navigatorType : Config.VR_PLATFORM == "OVR_MOBILE" ? VR_NAVIGATOR_TYPE : UNSET,
sharedProps : sharedProps,
vrMode : Config.FLAVOR == "ovr" ? true : UNSET,
worldAlignment : UNSET,
autofocus : true,
videoQualityHigh : true,
initial3DScene : UNSET,
numberOfTrackedImages: 0,
initialScene: null,
}
this._getSelectionButtons = this._getSelectionButtons.bind(this);
this._getARNavigator = this._getARNavigator.bind(this);
this._getVRNavigator = this._getVRNavigator.bind(this);
this._get3DSceneNavigator = this._get3DSceneNavigator.bind(this);
this._getButtonPress = this._getButtonPress.bind(this);
this._toggleAutofocus = this._toggleAutofocus.bind(this);
this._toggleVideoQuality = this._toggleVideoQuality.bind(this);