大约有 5,033 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0123 秒)
Laya_社区(4935) Laya2.0_文档(33) Laya3.0_文档(20) Laya3.0_api(13) Laya_示例(12) Laya2.0_示例(11) Laya2.0_api(7) laya_api(2)
...):void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#FFFFFF"); //背景色 IFlash.showInfo(false); //是否显示帧率 if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e...
来源: Laya_社区 发布时间: 20151225
...鼠游戏发布到微信开发者工具后遇到的问题。 Cannot assign to read only property 'window' of object '#<Window>' TypeError: Cannot assign to read only property 'window' of object '#<Window>' 附件 : --> 2018-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20181107
...unction Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; __JS__Test(); } private ...
来源: Laya_社区 发布时间: 20151106
...启动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 Laya2.12.0项目出现卡顿现象(必现) 谷歌浏览器播放mp3出现The AudioContext was not ...
来源: Laya_社区 发布时间: 20250814
... 参考:https://stackoverflow.com/questions/12427880/is-it-important-to-call-gldisablevertexattribarray 问题出在粒子系统的shader用到了很多顶点属性,一般的shader顶多用2~3个,粒子系统用到了10个,而这些属性在enableVertexAttribArray之后没有disableVer...
来源: Laya_社区 发布时间: 20200708
...下这个项目,为什么会一直报 laya.core.js:12326 [error]Failed to load: fnts/test.png laya.core.js:12321 [warn]Retry to load: fnts/test.png 错误 附件已上传! keyi.zip 2017-08-30 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 字体文件必须是xml格...
来源: Laya_社区 发布时间: 20170830
...Main.max.js:16077: ReferenceError: CanvasRenderingContext2D is not defined to=to || CanvasRenderingContext2D.prototype; ^^ ReferenceError: CanvasRenderingContext2D is not defined at Function.Context.__init__ (http://stand.alone....
来源: Laya_社区 发布时间: 20190528
...添加2d刚体吗 这边添加会出现报错 TypeError: this.owner.localToGlobal is not a function preload.js:55 at RigidBody.__proto._createBody (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.physics.js:2031:27) at RigidBody.__proto._onAwake (/Users/tuyoo/client5/work/...
来源: Laya_社区 发布时间: 20190107
... wulilioo 发了一篇博客 就是针对这个问题 关于Laya使用drawToCanvas截图出现模型穿透和穿模的解决办法 2018-07-18 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个截图是怎么做的?我们没有做截图的接口。这个能锁定问题在哪吗? 2018...
来源: Laya_社区 发布时间: 20180718
...ternion=new Quaternion(); var out2:Quaternion=new Quaternion(); var dir:Vector3=new Vector3() ; Vector3.subtract(transform.position,sphere3D.transform.position,dir); Quaternion.rotationLookAt(dir,Vector3.Up,out); Quaternion.slerp(transform.rotation,out, Laya.timer.delta/1000,out1); transform.rotatio...
来源: Laya_社区 发布时间: 20180726