大约有 313 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)
Laya_社区(105) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya_示例(13) Laya2.0_文档(10) Laya3.0_文档(4) Laya2.0_示例(3)
... Laya.stage.bgColor = "#ffffff"; console.log(Laya.Render._mainCanvas); Laya.Render._mainCanvas.source.style.top = "50px"; this.setup(); const parent = document.getElementById("preview"); const child = document.getElementById("la...
来源: Laya_社区 发布时间: 20201130
...nit = function() { //判断当前渲染模式是WebGL还是Canvas if (Laya.Render.isWebGL) { Laya.init(800, 600, Laya.WebGL); Config.isAlpha = true; //设置画布是否透明,只对2D(WebGL)、3D有效。 Laya.stage.bgColor = "none"; //背景透明 } else { Laya.init(800, 600); Laya.stage.bgColor...
来源: Laya_社区 发布时间: 20170803
...nLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.render.RenderState; import laya.d3.core.scene.Scene; import laya.d3.graphics.IndexBuffer3D; import laya.d3.graphics.VertexBuffer3D; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.math.Vector4; imp...
来源: Laya_示例 发布时间: 20241001
...yaWorkspace/javaScriptLaya/bin/libs/laya.core.js:9237:16) at Stage.__proto.render (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:17832:15) at Stage.__proto._loop (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:17790:8) at loop (file:///E:/LayaWorkspace/javaScriptLaya/b...
来源: Laya_社区 发布时间: 20180105
..._update (http://127.0.0.1:60853/game/su ... 573:13) at Stage.__proto.render (http://127.0.0.1:60853/game/su ... 499:15) at Stage.__proto._loop (http://127.0.0.1:60853/game/su ... 8457:8) at Function.loop (http://127.0.0.1:60853/game/su ... 426:15) at http://127.0.0.1:60853/ga...
来源: Laya_社区 发布时间: 20180504
...据域去重绘 sharedCanvas” 我的代码如下: if (message.cmd == "render") { console.log("重置共享数据域"); let sharedCanvas = Laya.Browser.window.sharedCanvas; sharedCanvas.width = 0; sharedCanvas.height = 0; // let tempMatrix = message.matrix; // let matrix = new Laya.Matrix(); // m...
来源: Laya_社区 发布时间: 20180710
...andler.__proto.run at Timer.__proto._update at Stage.__proto.render at Stage.__proto._loop at loop 引擎版本1.6.2 我们日志统计到,大量玩家报这个错误 我找到是因为AnimationTemplet类里getOriginalData方法的key为空的原因,如下图 然...
来源: Laya_社区 发布时间: 20170418
...client2D2017_11_19/bin/libs/laya.webgl.js:4963:32) at SubmitCanvas.__proto.renderSubmit (file:///F:/Chess/client2D2017_11_19/bin/libs/laya.webgl.js:6294:18) at WebGLContext2D.__proto.submitElement (file:///F:/Chess/client2D2017_11_19/bin/libs/laya.webgl.js:4954:30) at WebGLContext2D.__proto.flush (f...
来源: Laya_社区 发布时间: 20171206
...65:41) at Stage._updateTimers (laya.core.js:17751:25) at Stage.render (laya.core.js:17713:18) at Stage._loop (laya.core.js:17642:18) at loop (laya.core.js:11413:29) 附件 : --> greenChestSkeleton(导出以及转换后文件).zip greenChestSkeleton(spine源文件).zip 202...
来源: Laya_社区 发布时间: 20231127
...= removed[static] 定义 removed 事件对象的 type 属性值。Event RENDER : String = render[static] 定义 render 事件对象的 type 属性值。Event RESIZE : String = resize[static] 定义 resize 事件对象的 type 属性值。Event RIGHT_CLICK : String = rightclick[static] 定...
来源: Laya2.0_api 发布时间: 20190513