MAYA_CUSTOM_TEMPLATE_PATH =
Disable mouse scroll zoom
camera.lowerRadiusLimit = camera.upperRadiusLimit = camera.radius = 4.0;
Limite mouse scroll zoom
camera.lowerRadiusLimit = 1; camera.upperRadiusLimit = 50;
Disable right mouse button drag pan
camera.setTarget(box, true, true);
camera.panningSensibility = 0;
invert camera drag rotation direction
camera.angularSensibility = -5000;
Force all material backface culling off
BABYLON.SceneLoader.ImportMesh("", "https://example.com/video/3d/", "my3d.babylon", scene, function (newMeshes) { for(let i = 0; i < newMeshes.length; i++){ newMeshes[i].material.backFaceCulling = false;} });
canvas { outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */ }