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

大约有 641 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0141 秒)

341. 怎样将这个数组中的每一行数组打印出来,打印出来的数字是数字,字符串是字符串,不改变类型 [ 58%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 服务端的数据怎么传到laya前端?laya前端又是如何接收后台的数据呢,后台传到laya的数据类型是什么? 通过绘制纹理生成的图片,改变scale时会出现图片不绘制...

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

342. laya.ui.Dialog [ 58%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames DialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class DialogInheritanceDialog View Box Component Sprite Node EventDispatcher ObjectSubclasses AsynDialog Dialog 组件是一个弹出对话框...

来源: laya_api 发布时间: 20170929

343. 网格像素线 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...以写一个Tool工具类,方便转换使用: //Tool工具类 export class Tool { private static transVertex0: Laya.Vector3 = new Laya.Vector3(); private static transVertex1: Laya.Vector3 = new Laya.Vector3(); private static transVertex2: Laya.Vector3 = new Laya.Vector3(); private static corners...

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

344. laya.resource.RenderTexture2D_API3.0 [ 58%]

...Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture...

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

345. 自定义对话框设置zOrder后,关闭时报错 [ 58%]

...ext = '' + this.count; Laya.timer.loop(1000, this, this.countdown); } Laya.class(countdownBar, "CountdownBar", CountdownUI); return countdownBar; }()); CountdownBar.prototype.countdown = function () { this.count--; if (this.count > 0) { this.countLabel.text = '' + this.count; } else { Laya.timer....

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

346. 构造函数的__super.call(this)以及调用基类方法的laya.ui.Component.prototype.onCompResize.call(this);在2.0是怎么写的 [ 58%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 问题状态 最新活动: 2019-03-22 17:48 浏览: 810 关注: 1 人

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

347. 关于removeChildren、 destroy和destroyChildren的疑惑 [ 57%]

...); this.alpha = 0; Laya.stage.addChild(this); // this.pos(440,640); } Laya.class(sightBeadSprite, "SightBead", Laya.Sprite); return sightBeadSprite; }());然后如此使用destroy for (var i = 0; i < Laya.stage.numChildren; i++) { var object = Laya.stage.getChildAt(i); // object.removeSelf(); Lay...

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

348. laya.d3.resource.RenderTextureCube_API3.0 [ 57%]

...ported Menu Globals "laya/d3/resource/RenderTextureCube" RenderTextureCube Class RenderTextureCube Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _inPool _isCameraTarget _renderTarget destoryedImmediately lock name url uui...

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

349. 关于laya生成的canvas定位问题导致内部事件不正确 [ 57%]

...nter;padding-top: 30px;} </style> </head> <body> <div class="layaDiv"></div> <div class="msgDiv">日志</div> </body> <script src="https://cdn.bootcss.com/jquery ... gt%3B <script type="text/javascript" src="http://layaair.ldc.layabox.com ... ot%...

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

350. laya.resource.NativeRenderTexture2D_API3.0 [ 57%]

...d Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture NativeRenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthSt...

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