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

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

1051. 【初学者】导入模型进行旋转结果出现问题 [ 55%]

...new Laya.Vector3(1,0,0); //每10毫秒旋转一次 Laya.timer.loop(10,null,function(){ box.transform.rotate(vect,true,false); }); 以上是代码 出现的问题是有一个物体 然后另外一个物体在旋转 2018-08-08 添加评论 已悬赏2元 --> 分享 微博 QZONE 微信 没有找到相...

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

1052. 网络访问反馈错误,如何获得全部错误内容? [ 55%]

网络访问反馈错误,如何获得全部错误内容? private function onHttpRequestError(e:*=null):void { trace(e); } 有啥方法获得全部返回的错误吗 错误提示:Unexpected token < 尴尬,我也知道是 json错了,但具体还有那些错?为啥不显示完整。   ...

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

1053. 3D打包app后,安装打开会报错 [ 55%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function 用了ByteArray的zlib.min.js后报错 小游戏项目 加载有中文的json文件 报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 打包出来后的APP...

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

1054. laya的摇一摇发布到微信小游戏上无效 [ 55%]

...nce.start(5, 500); Shake.instance.on(Event.CHANGE, this, onShake); private function onShake():void { console.log("摇晃了!!!!"); }这段代码发布到微信小游戏上并无效果 请问是什么原因呢 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

1055. addToTransparentRenderQueue 中 'add' of undefined [ 55%]

...ya2.1.0 JS调用Java PlatformClass undefined api readFile success callback function undefined Cannot read property 'call' of undefined 生成微信小游戏时各种"undefined"(已解决) 运行编译 报错Cannot read property 'on' of undefined Cannot read property 'call' of undefined 问题状态 ...

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

1056. [求助]无法使用loader预先加载 [ 55%]

...lse), Loader.TEXT); Laya.loader.on(Event.ERROR, this, onError);   private function onAssetLoaded(texture:Texture):void{             //console.log("111: ");                          txt.visible=false;             title = new Sprite();         ...

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

1057. laya.components.KeyframeNodeList2D_API3.0 [ 55%]

...eList2D count getNodeByIndex setNodeByIndex Legend Object literal Variable Function Type alias Class Class with type parameter Method Accessor Enumeration Interface

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

1058. graphics绘制报错 [ 55%]

..."./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), new Float32Array([0,0,1,0,1,1,0,1]), new Uint1...

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

1059. laya.d3.shader.pbr.PBRShaderLib_API3.0 [ 55%]

...EFINE_CLEARCOAT_NORMAL DEFINE_EMISSION init Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

1060. 关于webGL下遮罩效率问题 [ 55%]

... new Sprite(); Laya.stage.frameLoop(1, null, drawMask); var index:int = 0; function drawMask():void { index++; if(index > 72) index = index-72; var angle:int = index*5; spr.mask.graphics.drawPie(0,0,100,0,angle, "#ffffff"); } 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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