Socket
Book a DemoInstallSign in
Socket

three-x3d-loader

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-x3d-loader

Three loader for the X3D format.

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
2
Created
Source

three-x3d-loader

npm version MIT license

Three.js Loader for the X3D format.

Install

$ npm install --save three-x3d-loader

Usage

var THREE = require('three');
var X3DLoader = require('three-x3d-loader');
X3DLoader(THREE);

console.log(typeof THREE.X3DLoader);
//=> 'function'

or just use the parser alone

var THREE = require('three');
var X3DLoader = require('three-x3d-loader');

var parsedXml = {...};
var scene = new THREE.Scene();

X3DLoader.x3dParser(THREE, parsedXml, scene /* Optional. Created if missing */, useImageTexture/* Optional. Default true */);

Keywords

three

FAQs

Package last updated on 25 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts