How to use babylonjs-viewer-assets - 3 common examples

To help you get started, we’ve selected a few babylonjs-viewer-assets examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BabylonJS / Babylon.js / Viewer / src / configuration / types / default.ts View on Github external
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: {
github BabylonJS / Babylon.js / Viewer / src / configuration / types / default.ts View on Github external
},
                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: {
github BabylonJS / Babylon.js / Viewer / src / configuration / types / default.ts View on Github external
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",

babylonjs-viewer-assets

Compiled resources for the Babylon viewer.

Apache-2.0
Latest version published 3 days ago

Package Health Score

89 / 100
Full package analysis