大约有 859 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(537) Laya3.0_api(65) Laya2.0_api(62) laya_api(57) Laya2.0_示例(44) Laya_示例(41) Laya2.0_文档(30) Laya3.0_文档(23)
...ants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By act...
来源: Laya2.0_api 发布时间: 20190513
... var txtCountDown = new Laya.Text(); txtCountDown.fontSize = 30; this.rankSprite2.txtCountDown = txtCountDown; this.rankSprite2.addChild(txtCountDown); txtCountDown.text = 15; txtCountDown.pivotX = txtCountDown.width/2; txtCountDown.align = "right"; txtCountDown.pos(this.rankSprite2.width / 2, 483);...
来源: Laya_社区 发布时间: 20180514
Sprite设置宽度为0显示的是原图大小 const sp = new Laya.Sprite(); sp.texture = Laya.loader.getRes("res/progress_1.png"); sp.width = 0;Sprite设置宽度为0不生效,显示的是原图大小 附件 : --> 2022-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20220309
Sprite3D 不旋转 我在场景里面加载了一个meshsprite3d和一个自己从unity里面导出的sprite3d,都用 Laya.timer.loop(10,null,function():void{ layaMonkey.transform.rotate(vect,true,false) }) 让他自...
来源: Laya_社区 发布时间: 20180302
...Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Publ...
来源: Laya2.0_api 发布时间: 20190513
...'</div>' +'</foreignObject>' +'</svg>';var sp = new Laya.Sprite();sp.loadImage(data, 0, 0, 200, 200);Laya.stage.addChild(sp); 这段代码无法使用 附件 : --> svg.zip 2019-03-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20190306
...s Packagelaya.uiClasspublic class ScrollBarInheritanceScrollBar Component Sprite Node EventDispatcher ObjectSubclasses HScrollBar, VScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区域无法容纳时,最终用户可以使用 ScrollBar 组件控制所显示的...
来源: laya_api 发布时间: 20170929
...用须知-版本更新-问题解答(最新版本:1.7.16) 如何设置Sprite的宽高和点击区域? 关于适配采用showAll后留白部分的颜色问题 使用钢体设置防穿后仍有几率会穿透 matter中layasprite怎么改变图片大小? 求问shader中的attribute变量怎么...
来源: Laya_社区 发布时间: 20170427
...是格子 class GameInfo{ private tiledMap: Laya.TiledMap; private sp:Laya.Sprite; constructor(){ console.info("start"); this.init(); } init():void{ Laya.init(800, 700, Laya.WebGL); Laya.loader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLA...
来源: Laya_社区 发布时间: 20171125
... = 1; let txArray = ; for (let i = 0; i <20; ++i) { let list = new Laya.Sprite(); list.width = 600 ; list.height = 155; list.loadImage('xxx.png'); //此处无论是这样给 list.on(Laya.Event.CLICK, this, () => { console.log(413132131) }) //还是在handler中去渲染,都会滚动不了 tx...
来源: Laya_社区 发布时间: 20190711