大约有 7,299 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0125 秒)
Laya_社区(6604) Laya2.0_文档(183) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya3.0_文档(59) Laya2.0_示例(57)
sprite3d 调用destroy报错 undefined preload.js:55 Error: "abort(26). Build with -s ASSERTIONS=1 for more info." laya.physics3D.js:308 at ta (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.physics3D.js:308:124) at dH (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.physics3D.js:53:382...
来源: Laya_社区 发布时间: 20181029
...; } setup() { this.createApe(); this.applayFilter(); } createApe() { const Sprite = Laya.Sprite; this.ape = new Sprite(); Laya.stage.addChild(this.ape); let texture = Laya.loader.getRes(apePath); this.ape.graphics.drawTexture(texture); this.ape.x = (Laya.stage.width - texture.width) / 2; this.ape.y ...
来源: Laya2.0_示例 发布时间: 20241002
请问 有复制sprite的方法吗? 2018-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: 2d目前没有克隆的方法 2018-03-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20180329
LayaAir IDE 将Sprite转换为Script时报错! 附件 : --> 2020-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 kylin 赞同来自: 重启IDE试试吧,我们这里没能复现这个问题 2020-08-10 ...
来源: Laya_社区 发布时间: 20200809
...ionGL apply(srcCanvas:*):*FilterActionGL apply3d(scope:SubmitCMDScope, sprite:Sprite, context:RenderContext, x:Number, y:Number):*[override] ColorFilterActionGL setValue(shader:*):void[override] ColorFilterActionGL setValueMix(shader:Value2D):voidFilterActionGLProperty Detaildatapropertypubl...
来源: laya_api 发布时间: 20170929
Sprite加载图片 是异步操作吗? this.bg_2.loadImage("background.png"); this.bg_2.pos(0,this.bg_2.height); 这时候 this.bg_2.height 的值打印出来是0 2017-10-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...
来源: Laya_社区 发布时间: 20171002
...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_示例 发布时间: 20241002
BUG:Sprite.event() LayaAS版本,Sprite.event参数说明写了可以传数据、数组或不传参数,实际上,在JS环境下只传一个非数组的数据,会报错,我看了编译后的JS代码,的确有问题,data.unshift没有判断是否是数组 if (this.method==null)return n...
来源: Laya_社区 发布时间: 20170215
laya的sprite或其他物体能否叠加在一个dom上(比如image或video) 2017-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: LayaAir是基于canvas的操作,layaAir下的s...
来源: Laya_社区 发布时间: 20170823
...标原点上。 ```typescript //创建一个空节点用来放置各模型 sprite3D = scene.addChild(new Sprite3D()) as Sprite3D; //正方体 var box:MeshSprite3D = sprite3D.addChild(new MeshSprite3D(PrimitiveMesh.createBox(0.5, 0.5, 0.5))) as MeshSprite3D; box.transform.position = new Vector3(2.0, ...
来源: Laya2.0_文档 发布时间: 20210715