大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...r.addChild(te); Laya.stage.addChild(spr); Laya.stage.on(Event.CLICK, this, function():void { if (Laya.stage.screenMode == Stage.SCREEN_HORIZONTAL) { if (Browser.window.conchConfig) { Browser.window.conchConfig.setScreenOrientation(1); } Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.scale...
来源: Laya_社区 发布时间: 20170801
...b是没有问题的。 Laya.loader.load(url, Laya.Handler.create(this, function (obj: any) { let prefab = Laya.Pool.getItemByCreateFun('prefab_' + name, obj.create,obj); Laya.stage.addChild(prefab); prefab.pos(1...
来源: Laya_社区 发布时间: 20200409
...int len = b.length; bf.writeInt(len); bf.writeBytes(b); js: ws.onmessage = function (e) { var view=new DataView(e.data); console.log(view.byteLength);//7 console.log(view.getInt32(0));//3 console.log(view.getInt8(4),view.getInt8(5),view.getInt8(6));// -28 -67 -96 console.log(new Uint8Array(view.buff...
来源: Laya_社区 发布时间: 20180302
...t TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided. at Texture2D.__proto._createWebGlTexture (laya.d3.js:37225) at Texture2D.__proto.recreateResource (laya.d3.js:37271) at Texture2D.__proto.onAsynLoaded ...
来源: Laya_社区 发布时间: 20190323
...相关的链接 提交 1 个回复 cuixueying 赞同来自: Todo private function mouseMove(e:*=null):void { //移动地图视口 tiledMap.moveViewPort(mX - (Laya.stage.mouseX - mLastMouseX), mY - (Laya.stage.mouseY - mLastMouseY)); }控制好moveViewPort的视图X和视图Y就可以了,判断下...
来源: Laya_社区 发布时间: 20170119
...,又开始上下滑动了 浏览器运行提示TypeError: xxx is not a function 问题状态 最新活动: 2021-11-19 10:28 浏览: 4334 关注: 3 人 王老爷 • 2021-11-18 15:45 他这个问题就是上下文丢失再刷新游戏报的错误。要把浏览器完全关闭。 官方什么时候...
来源: Laya_社区 发布时间: 20211118
...加参数吗 prefab添加runtime脚本 comp._addComponentInstance is not a function 2.0 Beta3版本中,runtime脚本的的问题 看腾讯课程碰到的runtime无效问题 IDE界面编辑中最顶层view设置runtime无效 Cannot connect to runtime process, timeout after 10000 ms 自动关闭 问...
来源: Laya_社区 发布时间: 20170509
...ice.motion.Gyroscope.instance.on(Event.CHANGE, this, onOrientationChange); function onOrientationChange(absolute, info) { if (info.alpha === null) { addLog("当前设备不支持陀螺仪。"); return; } else if (firstTime && !absolute && !Browser.onIOS) { firstTime = false; addLog("...
来源: Laya_社区 发布时间: 20171015
...字体内容,空格代表换行 */ public function FontClip(skin:String = null, sheet:String = null) { 2018-04-16 1 1 分享 微博 QZONE 微信 w1114367261 赞同来自: 你没有设置FontClip的内容哦(sheet) 2018-04-16 0 0 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20180414
...茶几组装说明书的动画,在u3d中正常播放,按照文档写 function onModelOK(){//添加3D场景var scene = new Laya.Scene();Laya.stage.addChild(scene);//创建摄像机(纵横比,近距裁剪,远距裁剪)var camera = new Laya.Camera(0,0.1,1000);//加载到场景scene.addChild...
来源: Laya_社区 发布时间: 20180531