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

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

31. UI-RefreshList [ 66%]

...a.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.loadingLabel = null; this.refreshList = nu...

来源: Laya2.0_示例 发布时间: 20240930

32. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 62%]

...及通过摄像机从屏幕空间点去生成这个射线的方法viewportPointToRay()。 示例代码如下所示: /* ……省略若干代码 */ //创建一个屏幕点 let point = new Laya.Vector2(); //创建一个射线 Laya.Ray(射线的起点,射线的方向) let ray = new Laya.Ray(new Lay...

来源: Laya3.0_文档 发布时间: 20240624

33. 如何清除graphics绘制的矢量图 [ 62%]

...请先登录 发起人 zjkynu 相关问题 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 富文本下划线绘制bug new Laya.Sprite();绘制图形以后,怎么删除释放资源? Laya拖尾怎么停止或清除,比如要瞬移角...

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

34. List下使用 localToGlobal 获取坐标错误 [ 62%]

...oGlobal 获取坐标错误 console.log(this.ui.List.localToGlobal(new Laya.Point(0, 0)));我想获取List下cell的坐标, 但是不管怎么拖动, 打印出来的数值都是一样的,不知道是使用错误还是哪里设置错误 2017-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

35. laya.ui.Button_API3.0 [ 62%]

...wToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get...

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

36. laya.display.Sprite_API3.0 [ 61%]

...ToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get...

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

37. 想绘制一个自适应得圆角矩形框,失败了,求解惑 [ 60%]

...于laya2.5d项目美术规范的问题哈 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 写了一个小塔防游戏,分享给初学的朋友们(ts版本)《二》 问题状态 最新活动: 2017-08-06 11:11 浏览: 1216 关注: 2 人

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

38. LayaBox如何多点触摸? [ 59%]

...有反应,同时点击另一个点就没反应了。 Multitouch.maxTouchPoints的值也看过了,为3 请问有什么问题吗? 代码如下: private function startDemoTest():void { var bmd:BitmapData = new BitmapData(960, 640, false, 0xcccccc); var bmp:Bitmap = new Bitmap(bmd); bmp.width = ...

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

39. laya.ui.CheckBox_API3.0 [ 58%]

...wToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get...

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

40. laya.ui.ColorPicker_API3.0 [ 56%]

...wToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get...

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