大约有 911 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
Laya_社区(494) Laya2.0_文档(153) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya_示例(37) Laya3.0_文档(32) Laya2.0_示例(24)
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Texture = Laya.Texture; var Browser = Laya.Browser; var Ease = Laya.Ease; var Handler = Laya.Handler; var Tween = Laya.Tween; var WebGL = Laya.WebGL; con...
来源: Laya_示例 发布时间: 20251130
... • 2017-08-25 19:54 @Monica:请问native端可以有没有办法实现对sprite的图片的导出办法? Monica • 2017-08-25 19:56 @cyqcyqcyq:你说的导出是指什么呢? cyqcyqcyq • 2017-08-25 19:57 @Monica:比如我在内容里新建了sprite,然后绘制了graphics,譬如画了...
来源: Laya_社区 发布时间: 20170824
...种开发语言、LayaAirIDE让项目开发更高效。(function () { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Keyboard = Laya.Keyboard; var TimeLine = Laya.TimeLine; var WebGL = Laya.WebGL; var target; var timeLine = new TimeLine(); (function () { // 不支持We...
来源: Laya_示例 发布时间: 20251130
...赞同来自: 人月成患 您好,将下图中圈起来的的属性改为Sprite Texture试试呢,如果还有问题最好传一份示例到社区,我们来看下。 2023-02-17 1 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 人...
来源: Laya_社区 发布时间: 20230217
...新添加的元素始终保持在最底部显示? 关于遍历产生的sprite的点击事件,急,大神帮看哈 unity中的模型导出后在laya中显示不正常 请问下加载TFF字体要怎么加载呢? 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是...
来源: Laya_社区 发布时间: 20180412
...load(apePath, Handler.create(this, this.createApe)); } createApe() { const Sprite = Laya.Sprite, Event = Laya.Event; this.ape = new Sprite(); this.ape.loadImage(apePath); let texture = Laya.loader.getRes(apePath); this.ape.pivot(texture.width / 2, texture.height / 2); this.ape.pos(Laya.stage.width /...
来源: Laya2.0_示例 发布时间: 20251130
...oor(){ Floor.__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; _proto.init = function(type){ //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物...
来源: Laya_社区 发布时间: 20160728
...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` (图5) ##### 高...
来源: Laya2.0_文档 发布时间: 20210715
... { "sg.png": { "frame": { "x": 0, "y": 0, "w": 300, "h": 300, "idx": 0 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 300, "h": 300 }, "sourceSize": { "w": 300, "h": 300 }, "rotated": false, "trimed": true }, "sg2.png": { "frame": { "x": 302, "y": 0, "w": 290, "h": 300, "idx": 0 }, "spriteSourceSize"...
来源: Laya_社区 发布时间: 20170329
...Laya.stage.bgColor = "#232628"; Stat.show(); this.init(); } init() { const Sprite = Laya.Sprite, Animation = Laya.Animation, Text = Laya.Text, Event = Laya.Event; // 创建背景 this.spBg = Sprite.fromImage(PathBg); Laya.stage.addChild(this.spBg); // 创建动画 this.aniFly = new Animation(); this...
来源: Laya2.0_示例 发布时间: 20251130