大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...fileRect()方法,具体行见截图 RenderContext类:this._drawRect=function(x,y,args){ var ctx=this.ctx; if (args[4] !=null){ ctx.fillStyle=args[4]; ctx.fillRect(x+ar...
来源: Laya_社区 发布时间: 20161210
...r.IMAGE }); Laya.loader.load(asset,Laya.Handler.create(this,graphicsImg)); function graphicsImg(){ var s = new laya.display.Sprite(); s.graphics.drawTexture(Laya.loader.getRes("../res/image/bg.png"),0,0); Laya.stage.addChild(s); } 新建一个工程 這样写打包之后会白屏 2018-08-08 0 8 ...
来源: Laya_社区 发布时间: 20180808
.../scene/materialScene/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera") as Laya.Camera; camera.addComponent(CameraMoveScript); })); ```
来源: Laya2.0_文档 发布时间: 20210715
...vas如何使用layaAir引擎 导微信小程序报错window.focus is not a function 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 app启动动画应该如何去掉 请问layaair2.0-js 怎么用程序在...
来源: Laya_社区 发布时间: 20180606
...rdScriptError undefined is not an object;at requestAnimationFrame callback function undefined 2019-01-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 从这个报错上来看,应该是代...
来源: Laya_社区 发布时间: 20190108
... public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); /**测试 */ var o:Object = new Object()...
来源: Laya_社区 发布时间: 20171011
...EUE_TRANSPARENT SHADERDEFINE_ALPHATEST load Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231102
...oader.load("http://10.144.1.20:8081/files/ ... ot%3B, Handler.create(this, function (): void { var t: Texture = Laya.loader.getRes("http://10.144.1.20:8081/files/ ... 6quot;); var ape: Sprite = new Sprite(); ape.graphics.drawTexture(t, 0, 0); ...
来源: Laya_社区 发布时间: 20170831
...url路径 head_img.loadImage(data.head_img, Laya.Handler.create(head_img, function () { this.height = this.width = 77; var cMask = new Laya.Sprite();//创建遮罩对象 var r = 38.5; //遮罩圆形半径 cMask.graphics.drawCircle(0, 0, r...
来源: Laya_社区 发布时间: 20181119
...的 qq浏览器版本:安卓 8.1.3.3851 Laya.timer.frameLoop(100, this, function () { inputText.y = Laya.Browser.height-100; }); 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自...
来源: Laya_社区 发布时间: 20180427