您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enhance your Voxiom.io experience
当前为
- // ==UserScript==
- // @name Voxiom.io Enhanced Experience
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Enhance your Voxiom.io experience
- // @author Tomask4
- // @match *://voxiom.io/*
- // @icon https://www.google.com/s2/favicons?domain=voxiom.io
- // @grant none
- // @license none
- // ==/UserScript==
- // Enable wireframe mode (true for enabled, false for disabled)
- const wireFrameEnabled = false;
- // Override Array.prototype.push to customize SkinnedMesh materials
- const originalPush = Array.prototype.push;
- Array.prototype.push = function (...args) {
- originalPush.apply(this, args);
- if (args[0] && args[0].material && args[0].type === "SkinnedMesh") {
- if (wireFrameEnabled) {
- args[0].material.wireframe = true;
- }
- args[0].material.alphaTest = 1;
- args[0].material.depthTest = false;
- args[0].material.fog = false;
- args[0].material.color.setRGB(1, 0, 0);
- console.log(args[0]);
- }
- };