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

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

181. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 46%]

...    */     function completeHandler()     {          //设置缩放中心为左上角         tiledMap.setViewPortPivotByScale(0,0); //放大1.2倍         tiledMap.scale=1.2;          //块的宽高(不知道出来的是什么宽高)         conso...

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

182. laya.ui.Slider [ 45%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模...

来源: laya_api 发布时间: 20170929

183. laya.ui.Slider [ 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

184. laya.events.Event_API3.0 [ 44%]

...urrentTarget: any, target: any): Event Defined in laya/events/Event.ts:208 设置事件数据。 Parameters type: string 事件类型。 currentTarget: any 事件目标触发对象。 target: any 事件当前冒泡对象。 Returns Event 返回当前 Event 对象。 stopPropagation stopPropagation()...

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

185. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 44%]

...    */     function completeHandler()     {          //设置缩放中心为左上角         tiledMap.setViewPortPivotByScale(0,0); //放大1.2倍         tiledMap.scale=1.2;          //块的宽高(不知道出来的是什么宽高)         conso...

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

186. laya.ui.VSlider [ 39%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式...

来源: laya_api 发布时间: 20170929

187. laya.ui.VSlider [ 39%]

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

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

188. laya.ui.HSlider [ 39%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式...

来源: laya_api 发布时间: 20170929

189. laya.ui.HSlider [ 39%]

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

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

190. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...念。一个Sprite精灵对象默认的轴心点位于自身的左上角,设置Sprite精灵的位置时默认是以左上角为基准进行定位的。 轴心点是基准点,决定着Sprite在舞台的位置。轴心点以像素为单位,默认X、Y坐标为(0,0)表示图片左上角作为基...

来源: Laya3.0_文档 发布时间: 20251010