superapi-51aes
TypeScript icon, indicating that this package has built-in type declarations

5.5.8 • Public • Published

 

superapi logo

 

build version components publish date

 

Introduction

SuperAPI is a set of cloud rendering and front-end display application programming interfaces (API) developed by JavaScript. On the basis of the 51 cloud rendering platform, the client 3D scene is embedded in the web page in the form of video stream. Users can overlay their own data components and interact with the scene in both directions. SuperAPI is compatible with current mainstream JavaScript front-end frameworks, providing fast and convenient development interfaces for front-end developers.

The 51SuperAPI platform based on the full factor scene makes the development of 3D scenes so easy!

Documentation

To check out and docs, visit superapi.51aes.com

Install

npm i superapi-51aes

Import

import cloudRenderer from 'superapi-51aes';

CDN

<script src="https://unpkg.com/superapi-51aes/lib/superAPI.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/superapi-51aes/lib/superAPI.min.js"></script>

Init

var cloudRender = new cloudRenderer('renderViewID', 0);
  • renderViewID -- Rendering Dom id
  • 0 -- single view

Starting

cloudRender.SuperAPI('StartRenderCloud', 'cloudurl');

Stop Rendering

cloudRender.SuperAPI('StopRenderCloud');

License

Copyright (c) 2019-present, 51WORLD

Package Sidebar

Install

npm i superapi-51aes

Weekly Downloads

7

Version

5.5.8

License

MIT

Unpacked Size

752 kB

Total Files

7

Last publish

Collaborators

  • manjusaka