threejs-helper-material-assigner

A helper utility to quickly assign meshes with materials based on a property called materialName. A default material is applied if no named material if found, and a helpful console log lists unfound material names.

Usage no npm install needed!

<script type="module">
  import threejsHelperMaterialAssigner from 'https://cdn.skypack.dev/threejs-helper-material-assigner';
</script>

README

threejs-helper-material-assigner

experimental

A helper utility to quickly assign meshes with materials based on a property called materialName. A default material is applied if no named material if found, and a helpful console log lists unfound material names.

Usage

NPM

License

MIT, see LICENSE.md for details.