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

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

81. laya.ui.Image [ 49%]

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

来源: laya_api 发布时间: 20170929

82. laya.ui.AdvImage [ 45%]

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

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

83. 【简单跑酷--JS版】---Lv.6 终篇 [ 45%]

...yer.x, this.player.y)){ //人物如果踩到地板了 就把人物坐标设置到地板上面 this.player.y = floor.y; //如果到地板上面 就得重置跳方法 this.player.jumpReset(); } } } //点击 出发人物 跳跃 _proto.onMouseDown = function(){ this.player.jump(); } _proto.onMo...

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