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

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

121. laya.ui.TextArea [ 69%]

...mponent asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...

来源: laya_api 发布时间: 20170929

122. 关于removeChildren、 destroy和destroyChildren疑惑 [ 69%]

...r和Rigidbody3D后,调用destroy会报错 关于图片不打包问题,并设置项目不打包输出目录,疑惑?????????????????????? 关于buttondestroy不起作用问题 怎么清理掉 Sprite3D 相关缓存资源, 资源destroy后内存还下降、。 destroy()销毁精灵不起作...

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

123. 怎么加载网络上图片 [ 69%]

...! 2017-02-20 0 0 分享 微博 QZONE 微信 tianbo_zhang 赞同来自: 1.设置baseUrl为:http://image.xxx.com/ 2. 使用Laya.loader.load("1.png",Laya.Handler.create(this,this.complete)); 3.//加载完成回调处理 complete():void{} 2018-05-17 0 1 分享 微博 QZONE 微信 为什么被折叠?...

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

124. laya.display.Text [ 68%]

...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  align : String 表示文本水平显示方式。 取值: "left": 居左对齐...

来源: laya_api 发布时间: 20170929

125. laya.ui.TextArea [ 68%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

126. laya.ui.AsynDialog [ 68%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

127. laya.display.AnimationPlayerBase [ 68%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

来源: laya_api 发布时间: 20170929

128. laya.ui.List [ 68%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源。...

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

129. 图片居中问题 [ 68%]

...与内容相关链接 提交 2 个回复 cuixueying 赞同来自:   请设置图片中心点pivotX和pivotY为中心位置,即image.width/2,image.height/2,image宽高需要自己手动设置或者通过getBounds获取。 2016-11-18 0 0 分享 微博 QZONE 微信 shaouXie 赞同来自...

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

130. laya.display.Input [ 68%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用...

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