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

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

311. 1.70beta Dialog增加动画后第二次执行popup不显示弹窗 [ 47%]

...ALOG_WIDTH + "," + DIALOG_HEIGHT; console.log("SHOW"); dialog.show(); Laya.timer.once(3000, this, function () { console.log("SHOW"); dialog.show(); }); } })();http://layaair.ldc.layabox.com/demo/?UI_Dialog 直接到示例下跑一跑就知道了... @cuixueying     demo.zip 2017-03-03 0 3 分享 ...

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

312. laya.ui.TextArea [ 46%]

...改文字样式,建议使用此接口,能提高效率。 Label clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number,...

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

313. 没有预加载的图片怎么获取width和height ? [ 46%]

...getGraphicBounds().width,older.getGraphicBounds().height);     // Laya.timer.loop(1,this,showlog); } 2017-09-01 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 通过getBounds获取图片的宽高 2017-01-18 0 10 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

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

314. 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

315. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为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

316. 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

317. 修改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

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

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

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

319. 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

320. 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