大约有 592 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0044 秒)
Laya_社区(424) Laya3.0_api(61) Laya2.0_示例(32) Laya_示例(31) Laya2.0_文档(30) Laya3.0_文档(11) laya_api(2) Laya2.0_api(1)
...ysChange=true; console.log(rankTexture) LayaUISample.scoreview.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTexture.height); }); var rankTexture=new Texture(Browser.window.sharedCanvas); 这里报错 VM13215:1 gameThirdScriptError bitmap._addReference is not a func...
来源: Laya_社区 发布时间: 20180310
... 我这样载入场景问题出现在哪呢?? 模型资源释放问题 graphics alpha 问题 (此问题已经无效) IDE创建的UI 层级问题 问题状态 最新活动: 2017-05-09 22:07 浏览: 1362 关注: 4 人 PYS_Goon • 2017-05-10 10:10 对于timer的使用是建议全都使用Laya....
来源: Laya_社区 发布时间: 20170509
...s/extend/micro/bg.png"); var mask = new Sprite(); mask.alpha = 0.3; mask.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); mask.on(Laya.Event.CLICK,this,chick); function chick(){ mask.destroy(); gameContainer.destroy(); } gameContainer.mask=mask; Laya.stage.addChild(ga...
来源: Laya_社区 发布时间: 20200603
..., 600,WebGL); Laya.stage.bgColor="#eeffcc"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(50,50,300,300,null,"#0000FF",2); Laya.stage.addChild(sp); html=new HTMLDivElement(); html.innerHTML="<span>哈哈哈哈哈</span>"; Laya.stage.addChild(html); html.on(Event.MOUSE_DOWN,this,onHtml...
来源: Laya_社区 发布时间: 20170905
....pos(0, 0); reference.size(Laya.stage.width, Laya.stage.height); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); let tipElmt = Laya.Browser.createElement("img"); tipElmt.src = getResURI("ui/guide_tip.png"); tipElmt.style.zInddex = Laya.Render.canvas.style.zIndex + 2;...
来源: Laya_社区 发布时间: 20180802
...nction createSprite(xx:int,yy:int):Sprite { var sp:Sprite=new Sprite(); sp.graphics.drawRect(0, 0, 50, 50, "#ffffff"); sp.x=xx; sp.y=yy; Laya.stage.addChild(sp); return sp; } //添加缓动的函数 private function addTime(timeLine:TimeLine,sp:Sprite,yy:Number):void { timeLine=new TimeLine(); timeL...
来源: Laya_社区 发布时间: 20161207
...图集加载问题 关于适配采用showAll后留白部分的颜色问题 graphics alpha 问题 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 我这样载入场景问题出现在哪呢?? 问题状态 最新活动: 2017-09-06 11:29 浏览: 1...
来源: Laya_社区 发布时间: 20170904
...ort laya.d3.core.Sprite3D; import laya.d3.core.scene.Scene; import laya.d3.graphics.VertexElementUsage; import laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.reso...
来源: Laya_示例 发布时间: 20251219
...的需求适当调整,如果内容不变可以不用设置成true sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); Laya.stage.addChild(sprite); }); 2018-11-23 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20181123
...aya.Texture(sharedCanvas); texture.bitmap.alwaysChange = true; rankSprite2.graphics.drawTexture(texture, left*pixelRatio, top*pixelRatio, width*pixelRatio,height*pixelRatio); 这样在安卓上跑好卡啊 2018-05-07 0 0 分享 微博 QZONE 微信 yung 赞同来自: 关于开放域,微信将...
来源: Laya_社区 发布时间: 20180426