Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
viewer: {
html: defaultViewer,
params: {
enableDragAndDrop: false
}
},
navBar: {
html: navbar,
params: {
speedList: {
"0.5x": "0.5",
"1.0x": "1.0",
"1.5x": "1.5",
"2.0x": "2.0",
},
logoImage: images.babylonLogo,
logoText: 'BabylonJS',
logoLink: 'https://babylonjs.com',
hideHelp: true,
hideHd: true,
hideVr: true,
hidePrint: true,
disableOnFullscreen: false,
text: {
hdButton: "Toggle HD",
fullscreenButton: "Toggle Fullscreen",
helpButton: "Help",
vrButton: "Toggle VR",
printButton: "3D Print Object"
}
},
events: {
},
pointerdown: {
'.help-button': true
},
input: {
'.progress-wrapper': true
},
pointerup: {
'.progress-wrapper': true
}
}
},
overlay: {
html: overlay,
params: {
closeImage: images.close,
closeText: 'Close'
}
},
help: {
html: help
},
share: {
html: share
},
error: {
html: error
}
},
camera: {
behaviors: {
params: {
babylonFont: babylonFont,
noEscape: true
}
},
fillContainer: {
html: fillContainer,
params: {
disable: false
}
},
loadingScreen: {
html: loadingScreen,
params: {
backgroundColor: "#000000",
loadingImage: images.loading
}
},
viewer: {
html: defaultViewer,
params: {
enableDragAndDrop: false
}
},
navBar: {
html: navbar,
params: {
speedList: {
"0.5x": "0.5",
"1.0x": "1.0",
"1.5x": "1.5",
"2.0x": "2.0",