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

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

311. ScrollRect设置会引起其他的UI资源无法正在显示 [ 46%]

...id { trace("[TestView.StartMove]") // TODO Auto Generated method stub Laya.timer.loop(100,this,UpdatePath,[len]); } private function UpdatePath(len:int):void { // TODO Auto Generated method stub var show:int = len -1; for(var i=0;i<len;i++){ if(arr[i]){ arr[i].x+= speed; if(arr[i].x>= show* PA...

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

312. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为2D坐标? [ 46%]

...ord(translate, translate); layaMonkey.transform.position = translate; Laya.timer.frameLoop(1, this, function () { layaMonkey.transform.rotate(rotation); }); }); Laya.stage.on(Laya.Event.RESIZE, null, function () { camera.orthographicVerticalSize = Laya.RenderState.clientHeight; }); 2017-08-08 0 0 ...

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

313. Laya.loader.create中的progress回调好像不准确? [ 46%]

...缓存文件 2.0好像去掉了合并批次 怎么停止正在运行Laya.timer.frameLoop的回调函数 Skeleton 类播放完成一遍后有没事件或者回调 执行回调函数时报is not a function 问题状态 最新活动: 2018-03-21 10:33 浏览: 811 关注: 2 人 jinfawu • 2018-03-21 10:...

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

314. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 46%]

...e3D.instantiate(box);  scene.addChild(res1); scene.addChild(res2);  Laya.timer.frameLoop(1, this, () => { res1.transform.localPositionX += 0.016; res2.transform.position.x += 0.016;  console.log("本地坐标1:", res1.transform.localPosition); console.log("世界坐标1:", res1.transform.posit...

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

315. laya.device.media.Video [ 46%]

...支持"lighter"。Sprite  buffered : *[read-only] buffered 属性返回 TimeRanges(JS)对象。TimeRanges 对象表示用户的音视频缓冲范围。缓冲范围指的是已缓冲音视频的时间范围。如果用户在音视频中跳跃播放,会得到多个缓冲范围。 buffered.length...

来源: Laya2.0_api 发布时间: 20190513

316. laya.ui.AdvImage_API3.0 [ 46%]

... scrollRect sizeGrid skewX skewY skin source stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender d...

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

317. discard property,please use transform's property instead [ 45%]

...e));         var _quaternion = new Laya.Quaternion();         Laya.timer.frameLoop(1, null, function () {             Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion);             var _direction = directionLight.direction;             Laya.Vector3.transformQ...

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

318. Cannot read property 'rayCast' of undefined [ 45%]

...nish(layaMonkey){ this.layaMonkey=this.scene.addChild(layaMonkey); // Laya.timer.frameLoop(1, this, this.onFrameLoop); } onFrameLoop(){ this.layaMonkey.transform.rotate(this.rotation, false); } mouseDown(){ this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.m...

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

319. 求ShuriKenParticle3D用法 [ 45%]

...           let self = this;                 Laya.timer.loop(300, null, function () {                     console.log('8: ' + self.particleSystem.aliveParticleCount);                 });             }         }     } } ...

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

320. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 45%]

...ect:Laya.Vector3 = new Laya.Vector3(1,1,0); //每10毫秒旋转一次 Laya.timer.loop(10,null,function(){ box.transform.rotate(vect,true,false); }); } } new LayaAir3D(); 附件 : --> 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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