
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
three-m2loader
Advanced tools
three-m2loader
allows you to import M2 assets from World of Warcraft into your three.js
app.
druidcat2.m2 | 7ne_druid_worktable02.m2 | gilneas_fountain01.m2 |
---|---|---|
![]() | ![]() | ![]() |
If you want to load an asset into your three.js
app, you have to put all external resources like .blp
or .skin
files into the same directory like the M2 file. Depending on the M2 version, you have to name resources files with their FileDataID
or with their actual file name.
A minimal code example looks like so:
import { M2Loader } from 'three-m2loader';
const loader = new M2Loader();
loader.load( 'models/cat/druidcat2.m2', function ( group ) {
scene.add( group );
} );
This loader requires three.js
in version r144
or higher.
FAQs
three.js loader for importing M2 assets from World of Warcraft.
The npm package three-m2loader receives a total of 8 weekly downloads. As such, three-m2loader popularity was classified as not popular.
We found that three-m2loader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.