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

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

201. laya.ui.Tree [ 59%]

...,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component  array : Array 列表数据源,只包含当前可视节点数据。 Tree autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变...

来源: laya_api 发布时间: 20170929

202. 混合模式-Lighter [ 59%]

...t * scaleFactor) / 2; } private createAnimation(): Animation { var frames: Array = []; for (var i: number = 1; i = animation.frames.concat(); // 反转帧 clips = clips.reverse(); // 添加到已有帧末尾 animation.frames = animation.frames.concat(clips); animation.play(); return animation; } pri...

来源: Laya2.0_示例 发布时间: 20260818

203. laya能支持2个摄像机吗?viewport相同,只是根据不同的cullingMask渲染指定层的东西,最后渲染结果是两个摄像机的叠加 [ 59%]

...最后回到原大小或原位置,应该用什么缓动模式 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 Laya拖尾怎么停...

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

204. 【LIST无法拖动】参照官方实例做的 [ 59%]

... // 设置数据项为对应图片的路径         var data: Array<String> = [];         //解析二进制已获得关卡队列,先取有效位书          let s = json.my_guanqia.substr(0,this.default_guanqia.length);         data = this.find_Strin...

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

205. 骨骼动画-换装 [ 58%]

...mature:Skeleton; private var mCurrSkinIndex:int = 0; private var mSkinList:Array = ["goblin","goblingirl"]; public function Skeleton_ChangeSkin() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); } public function startFun():void { m...

来源: Laya2.0_示例 发布时间: 20260818

206. 性能测试-虫子(慎入) [ 58%]

...ivate maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBounds:Rectangle; private maggotTexture:any; constructor() { Laya.init(Browser.width,Browser.height, WebGL); Laya.stage.bgColor = "#000000"; Stat.show(); this.wrapBounds = new Rectangle(-this.padding, ...

来源: Laya_示例 发布时间: 20260818

207. laya animation播放图片集合,切换时会闪烁一下 [ 58%]

...博 QZONE 微信 风信子 赞同来自: private createAnimation(images: Array<string>): Laya.Animation { this.animation = new Laya.Animation(); this.ui.addChild(this.animation); this.animation.loadImages(images); this.animation.interval = 70; this.animation.play(0); return  this.animation }...

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

208. 图片显示异常 [ 58%]

...) }); }) // console.log("表的数据:", JSON.stringify(data)); listNode.array = data; } 2020-08-05 0 2 分享 微博 QZONE 微信  赞同来自: 这四个图片都是已经加载好了的, 但是第二张图就显示成纯白色的图了 2020-08-05 0 0 分享 微博 QZONE 微信 kylin 赞同...

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

209. 绘制扇形时,出现了莫名的横线和竖线,遮罩里没有额,见图 [ 58%]

...以后,怎么删除释放资源? drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 问题状态 最新活动: 2018-07-23 21:20 浏...

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

210. 性能测试-虫子(慎入) [ 58%]

...ivate maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBounds:Rectangle; private maggotTexture:any; constructor() { Laya.init(Browser.width,Browser.height, WebGL); Laya.stage.bgColor = "#000000"; Stat.show(); this.wrapBounds = new Rectangle(-this.padding, ...

来源: Laya2.0_示例 发布时间: 20260818