New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

three-vrml-loader

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-vrml-loader

vrml loader npm for three j

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

three.js VRML loader

Installation

npm i --save three-vrml-loader

Description

three.js's VRMLLoader wrapped as a module for easy importing. TypeScript declaration included.

Usage

import * as THREE from 'three';
import VRMLLoader from 'three-vrml-loader';

const loader = new VRMLLoader();
loader.load(
	'path/to/your/file.wrl',
	( object ) => {
		// called when the resource is loaded
		scene.add( object );
	},
	( xhr ) => {
		// called while loading is progressing
		console.log( `${( xhr.loaded / xhr.total * 100 )}% loaded` );
	},
	( error ) => {
		// called when loading has errors
		console.error( 'An error happened', error );
	},
);

Reporting Issues

Please note that this is just a wrapper for the VRML loader provided by three.js. Therefore, any issues regarding the loader should be reported directly via the three.js issue tracker.

For issues directly related to the wrapper or this package specifically, feel free to contact me.

Keywords

three

FAQs

Package last updated on 20 Dec 2018

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