@manycore/3d-model-viewer-sdk
v0.0.203
Published
## Install
Downloads
1
Readme
@manycore/3d-model-viewer-sdk
Install
$ yarn add @manycore/3d-model-viewer-sdk
# or
$ npm i @manycore/3d-model-viewer-sdk -S
Usage
with a UI panel
import React, { useEffect } from 'react';
import koolViewer from '@manycore/3d-model-viewer-sdk';
import from '@manycore/3d-model-viewer-sdk/dist/sdk-ui.min.css'
function App() {
useEffect(() => {
new koolViewer({
mount: document.getElementById('app'),
modelId: '3FO4GF8R3NYC',
autoRotate: false,
});
}, []);
return (
<div></div>
)
}
without a UI panel
import koolViewer from '@manycore/3d-model-viewer-sdk/dist/sdk.min.js';