大约有 194 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
Laya_社区(124) Laya2.0_文档(20) Laya2.0_api(15) laya_api(15) Laya3.0_文档(12) Laya3.0_api(7) Laya2.0_示例(1)
... */ function completeHandler() { //设置缩放中心为左上角 tiledMap.setViewPortPivotByScale(0,0); //放大1.2倍 tiledMap.scale=1.2; //块的宽高(不知道出来的是什么宽高) conso...
来源: Laya_社区 发布时间: 20180612
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模...
来源: laya_api 发布时间: 20170929
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...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
... */ function completeHandler() { //设置缩放中心为左上角 tiledMap.setViewPortPivotByScale(0,0); //放大1.2倍 tiledMap.scale=1.2; //块的宽高(不知道出来的是什么宽高) conso...
来源: Laya_社区 发布时间: 20180614
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式...
来源: laya_api 发布时间: 20170929
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式...
来源: laya_api 发布时间: 20170929
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...念。一个Sprite精灵对象默认的轴心点位于自身的左上角,设置Sprite精灵的位置时默认是以左上角为基准进行定位的。 轴心点是基准点,决定着Sprite在舞台的位置。轴心点以像素为单位,默认X、Y坐标为(0,0)表示图片左上角作为基...
来源: Laya3.0_文档 发布时间: 20251010