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

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

41. var 与 name 的详细区别是什么? [ 74%]

...我们就可以自动识别该box为list内部渲染节点,设置list的repeat等值,直接简便的实现某些功能。再譬如dialog界面,我们设置btn的name为close、yes、no等值,可以直接实现关闭dialog窗口的功能等等   其次name也可以看做一个组件的id,...

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

42. 资源加载提示重复加载 [ 74%]

...提示重复加载 资源加载提示信息: Resources already exist,is repeated loading:   这个提示说明资源已经加载过了。 在论坛中搜索答案,大部分说不用管这个提示。没有任何其他的有效信息了。   那到底如何才是正确的资源加载姿势呢...

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

43. laya.display.Graphics [ 74%]

...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

44. LayaNative2.0 beta3 单像素图片平铺绘制失败 [ 73%]

...像素图片平铺绘制失败 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

45. image的uv动画不能平铺 [ 73%]

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

46. laya.effect.EffectBase_API3.0 [ 73%]

...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

47. proto as3 [ 73%]

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

48. List在设置height和scrollbar后,y方向数量会比repeatY多一个 [ 73%]

List在设置height和scrollbar后,y方向数量会比repeatY多一个 添加List后 repeatX 为 1, repeat y为2,  然后添加scrollbar y这时元素数量2   设置高度为400 y方向变成3了.....      附件 : --> 2020-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

49. laya.display.Graphics [ 72%]

...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

50. laya.resource.Texture [ 71%]

... released : Boolean[read-only] 表示资源是否已释放。 Texture  repeat : Boolean 获取当前纹理是否启用了纹理平铺 Texture  source : *[read-only] 激活并获取资源。Texture  sourceHeight : Number = 0原始高度(包括被裁剪的透明区域)。Texture  sourceWi...

来源: laya_api 发布时间: 20170929