Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/deps.ts>three.Material#toJSON

A framework for Beat Saber map scripting.
Go to Latest
method three.Material.prototype.toJSON
Re-export
import { three } from "https://deno.land/x/remapper@3.0.0/src/deps.ts";
const { Material } = three;

Convert the material to three.js JSON format.

Parameters

optional
meta: any

Object containing metadata such as textures or images for the material.