ui-p3d

0.3.0 • Public • Published

uiP3d

Three dimension graphic interface weldkit component

Installation

cd myproject
npm install ui-p3d

API

Events

  • initialized: Fired after the scene has been initialized. It returns the scene data with added instances uuid.
  • render: Listener that renders the scene. Takes update data object as argument.

data-scene

Scene configuration data.

data-subject

Subject refers to the point of view configuration, it may include not only camera information but also avatar data.

data-display

Supported configuration parameters:

  • width: In pixels
  • height: In pixels
  • pixelRatio: Canvas pixel ratio
  • perspective(enum): Perspective type, default value firstPerson

Package Sidebar

Install

npm i ui-p3d

Weekly Downloads

1

Version

0.3.0

License

Apache-2.0

Unpacked Size

81.9 kB

Total Files

27

Last publish

Collaborators

  • cybersettler