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

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)

2141. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 66%]

...responseType = "arraybuffer";             request.onload = function () {                 if (me._disposed) {                     me._removeLoadEvents();                     return;                 }     ...

来源: Laya_社区 发布时间: 20200107

2142. laya.d3.core.material.EffectMaterial_API3.0 [ 66%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231115

2143. Panel使用文档(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 66%]

... laya.ui.Panel; import laya.utils.Handler; public class PanelTest { public function PanelTest() { //初始化引擎 Laya.init(800,600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas",Handler.create(this,onLoaded)); } private function onLoaded():void { //实例化Panel组件 var pane...

来源: Laya2.0_文档 发布时间: 20210715

2144. laya.d3.core.trail.TrailMaterial_API3.0 [ 66%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231115

2145. laya.d3.core.material.SkyBoxMaterial_API3.0 [ 66%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231115

2146. 使用mask后,只要调用 Laya.Resource.destroyUnusedResources() 就会引起报错 [ 66%]

...k = mask; mask.graphics.drawCircle(0, 0, 100, "0x0000FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000, null, function() { Laya.Resource.destroyUnusedResources(); }); } 当触发了释放资源的函数,会报错如下: laya.webgl.js:5713 Uncaught TypeError: Can...

来源: Laya_社区 发布时间: 20181016

2147. 3d下阴影渲染问题求解 [ 66%]

...会影响其他box接收person的功能 LayaAir3D.prototype = { creatBox:function(parent,poolBox,boxSize){ // var i = Math.random()*10; // var j = Math.random()*10; for (var i = 0; i < 10; i++) { for (var j = 0; j < 10; j++) { // var box = parent.addChild(new Laya.MeshSprite3D(new Laya.PlaneMe...

来源: Laya_社区 发布时间: 20180117

2148. laya.d3.core.material.SkyPanoramicMaterial_API3.0 [ 66%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231115

2149. Cannot read property 'call' of undefined [ 66%]

...细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19)    at HomePa...

来源: Laya_社区 发布时间: 20180709

2150. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 66%]

...e/cocos/./scripting/js-bindings/jswrapper/v8/Object.cpp, 628): Invoking function (0x794f5fe1c0) failed! 附件 : --> 2020-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 西西de弗斯 赞同来自: 兄...

来源: Laya_社区 发布时间: 20200515