大约有 797 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
Laya_社区(443) Laya3.0_api(103) Laya2.0_api(58) laya_api(54) Laya2.0_文档(49) Laya_示例(39) Laya2.0_示例(33) Laya3.0_文档(18)
...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...
来源: Laya_示例 发布时间: 20260818
...法 var zlib:* = __JS__("Zlib"); var inflate = new zlib.Inflate(new Uint8Array(rawData)); var plain:Uint8Array = inflate.decompress(); var ba:Byte = new Byte(plain); ba.pos = 0; ba.endian = Byte.BIG_ENDIAN;//根据自身情况写 lib.rar 2018-05-05 0 1 分享 微博 QZONE 微信 Meng℡ 赞同来自...
来源: Laya_社区 发布时间: 20180505
...mlParser.ts:14 Methods parse parse(aSource: string, style: TextStyle, out: Array<HtmlElement>, options?: HtmlParseOptions): void Defined in laya/html/HtmlParser.ts:33 Parameters aSource: string style: TextStyle out: Array<HtmlElement> Optional options: HtmlParseOptions Returns void Objec...
来源: Laya3.0_api 发布时间: 20231115
...e(); let tempImg: Laya.Image; let arr: Array<object> = <Array<object>>data.items; let element: any; let maxY: number = 0 | 0; for (let i: number = 0; i < arr.length; i++) { ...
来源: Laya_社区 发布时间: 20170508
...es elements DEFAULT NAN Accessors w x y z Methods clone cloneTo equals fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling add createFromAxisAngle createFromMatrix3x3 createFromMatrix4x4 createFromYawPitchRoll dot invert lerp lookAt multiply rotat...
来源: Laya3.0_api 发布时间: 20231102
...lider.y = 300; for (let i = 0, len = this.count; i = []; private touching: Array = []; constructor(maincls: typeof Main) { this.Main = maincls; Laya.Config.isAntialias = true; Laya.init(1200, 700, WebGL); Stat.show(); Physics.enable(); PhysicsDebugDraw.enable(); Laya.stage.alignV = Stage.ALIGN_MIDDL...
来源: Laya2.0_示例 发布时间: 20260818
...索引删除单元格数据源的问题 这个删掉数据源包括list的array里相应索引的数据也会删掉吗?这个索引值可以通过list.array.indexOf();获取吗? 2017-11-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20171114
...录 发起人 skylucha 相关问题 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 创建动效模板 可能存在bug list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。...
来源: Laya_社区 发布时间: 20170316
...ffff"; Stat.show(300,0); var arr:Array = new Array(); Laya.loader.load("test.json", Handler.create(this, onLoaded), null, Loader.ATLAS); //var json:JSON = Loader.getRes("test.json"); //trace(json...
来源: Laya_社区 发布时间: 20170413
...帧的索引值, */ private function aniUrls(aniName:String,length:int):Array { var urls:Array=[]; for(var i:int=0;i(图6) 我们继续沿用之前的示例,在onLoaded方法中添加play()。 onLoaded方法中的代码如下所示 ```java private function onLoaded():void { //添加到舞台...
来源: Laya2.0_文档 发布时间: 20210715