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

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

141. laya.ui.Button [ 61%]

...用页面,设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽...

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

142. 求HTTP相关的文档或者例子谢谢了 [ 61%]

...":"Your message has been successfully uploaded!" } package { import flash.display.Sprite; import flash.events.Event; import flash.events.HTTPStatusEvent; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.events.SecurityErrorEvent; import flash.net.URLLoader; import f...

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

143. laya.html.dom.HTMLIframeElement_API3.0 [ 60%]

...cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX piv...

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

144. laya.html.dom.HTMLDivElement_API3.0 [ 60%]

...cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY r...

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

145. html固定宽高,设置垂直居中没有效果。只有水平居中才生效。看了下源码,感觉在updatePos函数里的算法不对 [ 60%]

...proto.layout=function(){ if (!this.style)return; this.style._type |=/*laya.display.css.CSSStyle.ADDLAYOUTED*/0x200; var tArray=Layout.layout(this); if (tArray){ if (!this._$P.mHtmlBounds)this._set$P("mHtmlBounds",new Rectangle()); var tRectangle=this._$P.mHtmlBounds; tRectangle.x=tRectangl...

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

146. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 58%]

... = null; Air.__super.call(this); this.init(); } Laya.class(Air,"Air", laya.display.Sprite); var _proto = Air.prototype; _proto.init = function() { if(this.body == null) { this.body = new laya.display.Animation(); this.addChild(this.body) this.body.loadAnimation("GameRole.ani") } } _proto.playAction ...

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

147. 屏幕适配的缩放模式详解(TypeScript-2D基础篇(TS)-屏幕适配) [ 57%]

...LayaAir引擎的屏幕缩放模式。在 API文档中,我们搜索laya.display.Stage,可以看到关于缩放模式的方法scaleMode共有七种参数,用于实现各种屏幕适配的缩放需求,参数说明如图1所示: ![blob.png](img/1.png) ​ (图1)LayaAir引擎关于缩放模...

来源: Laya2.0_文档 发布时间: 20200307

148. 屏幕适配的缩放模式详解(JavaScript-2D基础篇(JS)-屏幕适配) [ 57%]

...LayaAir引擎的屏幕缩放模式。在 API文档中,我们搜索laya.display.Stage,可以看到关于缩放模式的方法scaleMode共有七种参数,用于实现各种屏幕适配的缩放需求,参数说明如图1所示: ​ ![blob.png](img/1.png) ​ (图1)LayaAir引擎关于缩...

来源: Laya2.0_文档 发布时间: 20200307

149. laya.display.Sprite_API3.0 [ 57%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放...

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

150. 第一个程序 hello laya显示不出文本,只是显示一些之前表格,单选项之类的东西 [ 54%]

...endong98 你新建个空项,然后在最开始的地方添加import laya.display.Text; 2017-12-08 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 wendong98 相关问题 看了其他引擎才发现 LAYA 真的...

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