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

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

261. laya.ui.DialogManager [ 83%]

...和关闭,都会出发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Public Properties Hide Inherited Public Properties S...

来源: laya_api 发布时间: 20170929

262. laya.map.TileAniSprite [ 83%]

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

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

263. laya.particle.ParticleSetting [ 83%]

...= 1粒子受发射器速度的敏感度(需在自定义发射器中编码设置)ParticleSetting  endVelocity : Number = 1等于1时粒子从出生到消亡保持一致的速度,等于0时粒子消亡时速度为0,大于1时粒子会保持加速(单位:无)ParticleSetting  gravity :...

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

264. laya.ui.HBox [ 83%]

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

来源: laya_api 发布时间: 20170929

265. laya.ui.ViewStack [ 83%]

...lements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall...

来源: laya_api 发布时间: 20170929

266. 输入设备-地图 [ 83%]

...iduCoord(data) { if (data.status == 0) { var position = data.points[0]; // 设置标注物位置 marker.setPosition(position); map.panTo(position); map.setZoom(17); } } function onError(e) { if (e.code == Geolocation.TIMEOUT) alert("获取位置超时"); else if (e.code == Geolocation.POSITION_UNAVA...

来源: Laya_示例 发布时间: 20240930

267. laya.ui.ColorPicker [ 83%]

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

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

268. 怎样更改ani文件的发布位置 [ 83%]

...内容相关的链接 提交 4 个回复 w1114367261 赞同来自: 文件-设置项目-资源发布目录 2018-04-23 0 0 分享 微博 QZONE 微信 xqv5modern 赞同来自: 谢谢,那个我知道,但是更改的只是atlas文件的发布目录。我指的是美术在IDE内制作的ani文件 2018-0...

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

269. laya.ui.View [ 83%]

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

来源: laya_api 发布时间: 20170929

270. laya.display.Input [ 83%]

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

来源: laya_api 发布时间: 20170929