大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0261 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...叠 要回复问题请先登录 发起人 Yangcy 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定...
来源: Laya_社区 发布时间: 20180110
...4 人 1569295620用户 • 2019-11-19 10:08 代码写。 this.contentDiv = new Laya.HTMLDivElement(); this.contentT.parent.addChild(this.contentDiv); this.contentDiv.x = this.contentT.x; this.contentDiv.y = this.contentT.y; this.contentDiv.width = this.contentT.width; this.contentDiv.height = this.c...
来源: Laya_社区 发布时间: 20191028
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 newway1992 相关问题 请问LayaAir中如何使图片以圆形的方式显示? 加载到舞台的3D模型不显示贴图 Texture图片能否进行翻转? iphoneX环境下新手引导的抠图透明区域为黑色,其它...
来源: Laya_社区 发布时间: 20171104
... Accessors frame startFrame Methods clone cloneTo Constructors constructor new TextureSheetAnimation(frame: FrameOverTime, startFrame: StartFrame): TextureSheetAnimation Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimation.ts:38 创建一个 TextureSheetAnimation 实例。 Parameter...
来源: Laya3.0_api 发布时间: 20231115
...lf.foodList.dataSource = fooddata; //实例化角色容器 var foodBox = new Laya.Sprite(); //添加到舞台上 console.log(self.foodBox); Laya.stage.addChild(foodBox); self.foodBox = fooddata; console.log(self.foodBox); 2018-12-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20181221
...<root><achieve pid=\"1001001\"/><\root>" var XMLParser = new Parser.DOMParser() var doc = XMLParser.parseFromString(xml) var a = doc.getElementsByTagName('achieve'); // 这样可以解析 没有问题 但是 通过 xml =Laya.loader.getRes("res/Config/text.xml"); var doc = XMLParser...
来源: Laya_社区 发布时间: 20180828
...改 var material = meshSprite.meshRender.sharedMaterial; material.albedo = new Vector4(1.0,1.0,1.0,0.0); material.renderMode = 5; Laya_Aaron • 2018-03-27 11:29 https://ldc.layabox.com/doc/?nav=zh-as-4-0-7 你如何用你不知道的东西去问如何操作。。。为什么不一开始就说自己...
来源: Laya_社区 发布时间: 20180327
...2.3版本,在GameControl onEnable中执行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone...
来源: Laya_社区 发布时间: 20191215
...定, 无法添加新回复 发起人 matthew_liu 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问LayaAir中如何使图片以圆形的方式显示? matter中layasprite怎么改变图片大小? ios14系统下 blendMode='lighte...
来源: Laya_社区 发布时间: 20180320
...们打印了log, 2018-08-21 11:20:31.548226+0800 game_hao[6707:3937898] new JSWebSocket::this=c41bb4a0 deletgate=c425c050 2018-08-21 11:20:31.548618+0800 game_hao[6707:3937898] WebSocket::init m_host: game.example.com, m_port: 6666, m_path: /ws/ [2018/08/21 11:20:31:5503] NOTICE: Ini...
来源: Laya_社区 发布时间: 20180821