大约有 154 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
... wrapModeU: Laya.WrapMode.Repeat, // U坐标使用Clamp模式 wrapModeV: Laya.WrapMode.Repeat // V坐标使用Clamp模式 }, constructParams: [undefined, und...
来源: Laya_社区 发布时间: 20250819
...re, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadI...
来源: laya_api 发布时间: 20170929
...像素图片平铺绘制失败 var tex:Texture = Laya.loader.getRes("res/repeattest.png");// 此图宽度只有1像素,横着平铺绘制无法显示 p.graphics.fillTexture(tex, 0, 0, 100, tex.height);// 无法显示 p.graphics.drawTexture(tex, 0, 0, 100, tex.height);// 正常显示 忘记说...
来源: Laya_社区 发布时间: 20181025
...extra _singleton autoDestroyAtComplete delay duration ease eventName owner repeat runInEditor scriptPath target Accessors awaked destroyed enabled hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset...
来源: Laya3.0_api 发布时间: 20231115
image的uv动画不能平铺 加载了一张img图片 并且设置了repeat=true,改变uv时图片没有平铺 private onFrame():void{ if(this.testScrollImg){ if(this.testScrollImg._bitmap && this.testScrollImg._bitmap.source){ this.testScrollImg._bitmap.source.repeat = true; var ss:any =...
来源: Laya_社区 发布时间: 20180321
proto as3 message s_11004_c { repeated objinfo info = 1; } message objinfo { required int32 id = 1; required int32 type = 2; repeated coordinates xy = 3; } message coordinates { required string x = 1; required string y = 2; } 有以下错误提示 Invalid wire type: 7 Invalid wi...
来源: Laya_社区 发布时间: 20170306
List在设置height和scrollbar后,y方向数量会比repeatY多一个 添加List后 repeatX 为 1, repeat y为2, 然后添加scrollbar y这时元素数量2 设置高度为400 y方向变成3了..... 附件 : --> 2020-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20201026
...re, x:Number, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):FillTextureCmd 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphic...
来源: Laya2.0_api 发布时间: 20190513
... released : Boolean[read-only] 表示资源是否已释放。 Texture repeat : Boolean 获取当前纹理是否启用了纹理平铺 Texture source : *[read-only] 激活并获取资源。Texture sourceHeight : Number = 0原始高度(包括被裁剪的透明区域)。Texture sourceWi...
来源: laya_api 发布时间: 20170929
...lue height: number = 0 (可选)高度。 Default value type: string = "repeat" (可选)填充类型 repeat|repeat-x|repeat-y|no-repeat Default value offset: Point | null = null (可选)贴图纹理偏移 Default value color: string = null (可选)颜色 Returns FillTextureCmd | null ...
来源: Laya3.0_api 发布时间: 20231115