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

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

341. 自定义对话框设置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

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

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

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

343. 关于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

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

345. 关于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

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

347. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 57%]

...bals "laya/d3/core/particleShuriKen/ShuriKenParticle3D" ShuriKenParticle3D Class ShuriKenParticle3D ShuriKenParticle3D 3D粒子。 Hierarchy RenderableSprite3D ShuriKenParticle3D Index Constructors constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PIC...

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

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

... exported Menu Globals "laya/resource/RenderTextureCube" RenderTextureCube Class RenderTextureCube SpotLight 类用于创建RenderTextureCube。 Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _r...

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

349. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 57%]

...ed Menu Globals "laya/d3/WebXR/core/WebXRRenderTexture" WebXRRenderTexture Class WebXRRenderTexture author miner 类用来创建WebXRRenderTexture Hierarchy RenderTexture WebXRRenderTexture Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget...

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

350. 鼠标事件能否在有图形的区域感应,特别是子项坐标为负数时(已经找到问题) [ 57%]

...) package { import laya.display.Sprite; import laya.events.Event; public class MainUi extends Sprite { private var testPan:Sprite; public function MainUi() { super(); this.graphics.drawRect(0,0,500,500,"#fff0cc"); testPan = new Sprite(); testPan.name = "testPan"; this.addChild( testPan ); testPan....

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