• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 313 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)

61. laya生成的layaContainer div想用appendChild方法添加到某div下,但是针对sprite距离位置并没有变化 [ 65%]

...         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

62. js进度,进度,js场景进度效果 [ 64%]

...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

63. Mesh网格-网格加载 [ 64%]

...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

64. 回调函数传递sprite3D问题 [ 64%]

...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

65. https://ask.layabox.com/question/13181官方Demo运行不起来 [ 64%]

..._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

66. 请教个问题:如何重绘sharedCanvas [ 63%]

...据域去重绘 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

67. 骨骼动画报错!!! [ 63%]

...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

68. 我我将一个View destory 再添加一个另外的View 有时候会报错 [ 62%]

...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

69. [LayaAir2]Spine动画无法正常加载显示 [ 62%]

...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

70. laya.events.Event [ 62%]

...= 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