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

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

181. laya.ui.Tree [ 47%]

...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  array : Array 列表数据源,只包含当前...

来源: laya_api 发布时间: 20170929

182. laya.map.TiledMap [ 47%]

...生成一个可控制物件 Parameters index:int — 纹理的索引值,默认从1开始  width:Number height:NumberReturnsGridSprite — getTexture()method  public function getTexture(index:int):TileTexSet 得到一块指定的地图纹理 Parameters index:int — 纹理的索引值,默认...

来源: laya_api 发布时间: 20170929

183. laya.map.TiledMap [ 47%]

...生成一个可控制物件 Parameters index:int — 纹理的索引值,默认从1开始  width:Number height:NumberReturnsGridSprite — getTexture()method  public function getTexture(index:int):TileTexSet 得到一块指定的地图纹理 Parameters index:int — 纹理的索引值,默认...

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

184. laya.ui.Panel [ 47%]

...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...

来源: laya_api 发布时间: 20170929

185. laya.ui.Dialog [ 47%]

...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...

来源: laya_api 发布时间: 20170929

186. laya.ui.Button [ 46%]

...签、图标或同时显示两者。 可以是单态,两态和三态,默认三态(up,over,down)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影...

来源: laya_api 发布时间: 20170929

187. 2.0里面的组件(Laya.Script)的prop其中几个类型应该怎么设置 [ 46%]

...:"bbb"}*/ public optionType:string = "bbb"; //EditOption 貌似不能设置默认值 /** @prop {name:editOptionType, tips:"", type:EditOption, option:"aaa,bbb,true", default:"bbb"}*/ public editOptionType:string = "bbb"; /** @prop {name:checkType, tips:"", type:Check}*/ public checkType; /** @prop {...

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

188. laya.ui.TextInput [ 46%]

...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  asPassword : Boolean 本API已弃用。使用type...

来源: laya_api 发布时间: 20170929

189. laya.ui.Clip [ 46%]

...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  autoPlay : Boolean 表示是否自动播放动画...

来源: laya_api 发布时间: 20170929

190. laya.physics.PhysicsDebugDraw_API3.0 [ 45%]

...fined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,...

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