大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0296 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...String = base64Data .split(",")[0] .split(":")[1] .split(";")[0]; var ia = new Uint8Array(byteString.length); for (var i = 0; i < byteString.length; i++) { ia[i] = byteString.charCodeAt(i); } return new Browser.window.Blob([ia], { type: mimeStringp }); };4.这时就有个新生成的URL,因为...
来源: Laya_社区 发布时间: 20181221
... var clip:Clip = new Clip(node.getAttribute("res") as String); clip.anchorX = node.getAttribute("anchorX") as Number; clip.anchorY = node.getAttribute("anchorY") as Number; ...
来源: Laya_社区 发布时间: 20170918
...请问纯代码怎么实现场景创建激活,谢谢? const scene = new Laya.Scene(); scene.onOpened = () => { console.log('scene onOpened'); }; scene.open(); console.log('scene', scene.active, scene.activeInHierarchy); Laya.timer.frameOnce(10, this, () => { console.log('scene 2', sc...
来源: Laya_社区 发布时间: 20190422
...width,this.gridBox.height,0,0); //获取截屏区域的texture this._tex = new Laya.Texture(this._htmlC); this._photo=new Laya.Sprite(); //将截屏的texture进行draw绘制并显示到舞台 this._photo.name="testtt"; this._photo.graphics.drawTexture(this._tex,0,0,this.gridBox.width,this.gridBox.h...
来源: Laya_社区 发布时间: 20170502
...lasticDistance = ListConst.elasticDistance; this.list_view.renderHandler = new Laya.Handler(this, this.onItemUpdate); this.list_view.mouseHandler = new Laya.Handler(this, this.onItemClick); this.list_view.array = ;// 这里必须要初始化数据 } ViewActivityLimitedTask.prototype.onItemUpdate ...
来源: Laya_社区 发布时间: 20191111
...static init() { .... let mat = Laya.Trail2DRender.defaultTrail2DMaterial = new Laya.Material(); mat.lock = true;//加上这行 防止Laya.Scene.gc 释放掉 .... } 2025-06-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20250630
... MethodDefined By GradientColor() 创建一个 GradientColor,不允许new,请使用静态创建函数。 实例。 GradientColor clone():* 克隆。 GradientColor cloneTo(destObject:*):void 克隆。 GradientColor createByConstant(constant:Vector4):GradientColor[static] 通过固定...
来源: Laya2.0_api 发布时间: 20190513
...ttp://cangqiong.17dawan.com/v ... 341015)"; // 错误信息 const tracey = new Stacktracey(errorStack); // 解析错误信息 const { readFileSync } = fs; for(const frame of tracey.items) { // frame.fileName const sourceMapContent = JSON.parse(readFileSync(mapFilePath, 'utf8')); const consumer = a...
来源: Laya_社区 发布时间: 20200720
... MethodDefined By GradientColor() 创建一个 GradientColor,不允许new,请使用静态创建函数。 实例。 GradientColor clone():* 克隆。 GradientColor cloneTo(destObject:*):void 克隆。 GradientColor createByConstant(constant:Vector4):GradientColor[static] 通过固定...
来源: laya_api 发布时间: 20170929
...his,onLoaded),null,Laya.Loader.ATLAS); function onLoaded(){ Laya.sg_sign = new sg_sign(); Laya.stage.addChild(Laya.sg_sign); } function onWxSign1(){ Laya.sg_sign.removeSelf(); Laya.Pool.recover("sg_sign",Laya.sg_sign); Laya.sg_index = new sg_index(); Laya.stage.addChild(Laya.sg_index); } 这样写...
来源: Laya_社区 发布时间: 20170725