大约有 1,772 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
Laya_社区(1397) Laya2.0_文档(82) Laya3.0_api(68) Laya2.0_api(57) Laya3.0_文档(56) laya_api(53) Laya_示例(32) Laya2.0_示例(27)
...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...
来源: laya_api 发布时间: 20170929
...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...
来源: laya_api 发布时间: 20170929
...ing): Laya.Label { const STROKE_WIDTH: number = 4; var label: Laya.Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } this.owner.addChild(label);...
来源: Laya3.0_文档 发布时间: 20251010
..., 无法添加新回复 发起人 哎呀嘛N号 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 缓动Tween能用在3D物体或者特效上面吗? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新...
来源: Laya_社区 发布时间: 20250412
...:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 分享:自定义事件派发与侦听(A页面...
来源: Laya_社区 发布时间: 20180322
...创建完毕,此方法只执行一次 */ onAwake(): void { let sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.graphics.fillText("fillText:引擎绘制的文本,适合简单的单行文本", 100, 300, " 60px simHei ", "#ff0000", "left"); } 在Text与Label中,font仅仅是指系...
来源: Laya3.0_文档 发布时间: 20251010
...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...
来源: laya_api 发布时间: 20170929
...tory(); this.mInstance = null; } } public initTemplet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadA...
来源: Laya_社区 发布时间: 20190821
...sionObject' of undefined 10-15 16:43:46.702: I/LayaBox(3503): var btColObj=new physics3D.btCollisionObject(); 10-15 16:43:46.702: I/LayaBox(3503): ^^ 10-15 16:43:46.702: I/LayaBox(3503): TypeError: Cannot read property 'btCollisionObject' of undefined 10-15 16:43:46.702: I/LayaBox(3503): at PhysicsC...
来源: Laya_社区 发布时间: 20181015
...e && Laya.Scene.open(GameConfig.startScene); } } //激活启动类 new Main(); 问题二)按教程 进入编辑模式 右键Scenes 新建了一个view拖入了一个button,起名btn1,但不知道怎么调用,强行在Main.js里面写入 btn1.on(Event.CLICK, this, onBtnClick); functio...
来源: Laya_社区 发布时间: 20181027