@qunhe/3d-model-viewer-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.1-alpha.13 • Public • Published

@qunhe/3d-model-viewer-sdk

Install

$ yarn add @qunhe/3d-model-viewer-sdk
# or
$ npm i @qunhe/3d-model-viewer-sdk -S

Usage

with a UI panel

import React, { useEffect } from 'react';
import koolViewer from '@qunhe/3d-model-viewer-sdk';
import from '@qunhe/3d-model-viewer-sdk/lib/sdk-ui.min.css'


function App() {
  useEffect(() => {
    new koolViewer({
      mount: document.getElementById('app'),
      modelId: '3FO4GF8R3NYC',
      autoRotate: false,
    });
  }, []);
  return (
    <div id="app"></div>
  )
}

without a UI panel

import koolViewer from '@qunhe/3d-model-viewer-sdk/lib/sdk.min.js';

/@qunhe/3d-model-viewer-sdk/

    Package Sidebar

    Install

    npm i @qunhe/3d-model-viewer-sdk

    Weekly Downloads

    0

    Version

    0.1.1-alpha.13

    License

    UNLICENSED

    Unpacked Size

    7.48 MB

    Total Files

    6

    Last publish

    Collaborators

    • yuck
    • manycore_root