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

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

71. 求问Texture和Texture2D的区别,和使用问题 [ 65%]

...加载.ls/.lh自动生成的贴图就是Texture2D   2、Texture.bitmap的属性useNum和referenceCount的值好像经常不正确。 上面的例子,明明图片使用了3遍,但是referenceCount却等于0 另外useNum有时候有,有时候没有,还有负数出现的情况   3、同一贴...

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

72. laya.ui.UIGroup [ 65%]

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

来源: laya_api 发布时间: 20170929

73. laya.ui.Clip [ 65%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目...

来源: laya_api 发布时间: 20170929

74. laya.ui.TextInput_API3.0 [ 65%]

...put 的文本自动换行。 textInput.x = 100;//设置 textInput 对象的属性 x 的值,用于控制 textInput 对象的显示位置。 textInput.y = 100;//设置 textInput 对象的属性 y 的值,用于控制 textInput 对象的显示位置。 textInput.width = 300;//设置 textInput 的宽...

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

75. laya.ui.ScaleBox [ 65%]

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

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

76. laya.ui.Label [ 65%]

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

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

77. laya.ui.ComboBox [ 64%]

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

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

78. laya.ui.TextArea_API3.0 [ 64%]

...tArea 的文本自动换行。 textArea.x = 100;//设置 textArea 对象的属性 x 的值,用于控制 textArea 对象的显示位置。 textArea.y = 100;//设置 textArea 对象的属性 y 的值,用于控制 textArea 对象的显示位置。 textArea.width = 300;//设置 textArea 的宽度。...

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

79. laya.ui.Button [ 64%]

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

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

80. laya.ui.ScrollBar [ 64%]

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

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