用户:Yingxxxx/test.js:修订间差异

来自Limbo Wiki
(创建页面,内容为“L2Dwidget.init({ "model": {        jsonPath: "https://unpkg.com/[email protected]/assets/tororo.model.json", "scale": 1 }, "display": { "position": "right", //模型的表现位置 "width": 150, //模型的宽度 "height": 300, //模型的高度 "hOffset": 0, "vOffset": -20 }, "mobile": { "show": true, "scale": 0.5 }, "react": { "opacityDefault": 0.7, //模型默认透明度 "opacityOnHover": 0.2 } });”)
 
无编辑摘要
第1行: 第1行:
//搬运自https://www.cnblogs.com/eve-d/p/15683541.html
L2Dwidget.init({
L2Dwidget.init({
"model": {
"model": {

2022年9月1日 (四) 06:56的版本

//搬运自https://www.cnblogs.com/eve-d/p/15683541.html
L2Dwidget.init({
"model": {
       jsonPath: "https://unpkg.com/[email protected]/assets/tororo.model.json",
"scale": 1
},
"display": {
"position": "right", //模型的表现位置
"width": 150, //模型的宽度
"height": 300, //模型的高度
"hOffset": 0,
"vOffset": -20
},
"mobile": {
"show": true,
"scale": 0.5
},
"react": {
"opacityDefault": 0.7, //模型默认透明度
"opacityOnHover": 0.2
}
});