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

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

71. laya.html.dom.HTMLDivElement [ 53%]

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

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

72. laya.ui.Button [ 53%]

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

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

73. 渲染优化原则(ActionScript-2D进阶篇(AS3)-性能优化) [ 53%]

...prite数量。 2. 非可见区域的对象尽量从显示列表移除或者设置visible=false。 3. 对于容器内有大量静态内容或者不经常变化的内容(比如按钮),可以对整个容器设置cacheAs属性,能大量减少Sprite的数量,显著提高性能。如果有动态...

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

74. laya.display.Graphics [ 53%]

...建一个新的 Graphics 类实例。 Graphics  alpha(value:Number):void 设置透明度。 Graphics  clear(recoverCmds:Boolean = false):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示...

来源: laya_api 发布时间: 20170929

75. laya.ui.TextArea [ 53%]

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

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

76. laya.display.Graphics [ 52%]

...s  MethodDefined By  Graphics()Graphics  alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不...

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

77. laya.ui.TextInput [ 51%]

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

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

78. laya.display.Graphics_API3.0 [ 51%]

...pha alpha(alpha: number): AlphaCmd Defined in laya/display/Graphics.ts:354 设置透明度。 Parameters alpha: number Returns AlphaCmd clear clear(recoverCmds?: boolean): void Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回...

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

79. laya.ui.TextArea [ 50%]

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

来源: laya_api 发布时间: 20170929

80. laya.ui.TextInput [ 49%]

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

来源: laya_api 发布时间: 20170929