大约有 1,442 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0049 秒)
Laya_社区(922) Laya2.0_文档(177) Laya_示例(132) Laya2.0_示例(115) Laya3.0_api(61) Laya3.0_文档(33) laya_api(1) Laya2.0_api(1)
...ssetsLoaded():void { var btn:Button = new Button("res/button-1.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置; var file:Object = Browser.document.createElement("input"); //设置file的样式 file.style="filt...
来源: Laya_社区 发布时间: 20180529
...isionEnter事件 摄像机跟随刚体移动,刚体出现抖动。 修改stage的scale后,会发生异常情况 如何修改物理引擎中的图层 3D模型无法修改scale? 问题状态 最新活动: 2019-05-16 10:47 浏览: 987 关注: 2 人
来源: Laya_社区 发布时间: 20190319
...Camera.clearFlag设置为DepthOnly是改了机制还是BUG呢? 2.12Laya.stage.frameRate="slow"后,屏幕有残影。。。 3D相机DepthOnly残影 问题状态 最新活动: 2023-03-06 20:46 浏览: 2364 关注: 2 人 177*****541 • 2023-03-07 10:03 2.13版本的都会,直接修改官方示...
来源: Laya_社区 发布时间: 20230306
... 提交 1 个回复 李伟 赞同来自: var Wall_TL = new Sprite(); Laya.stage.addChild(Wall_TL); Wall_TL.graphics.drawRect(0, 0, 400, 32, "#ffff00"); Wall_TL.pivot(200, 16); var Collision_Wall_TL:any = Matter.Bodies.rectangle(200, 400, 400, 32, { layaSprite:Wall_TL,isStatic: true }) Matter.Wo...
来源: Laya_社区 发布时间: 20180529
...nts.Event; public class Main extends Sprite { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 I...
来源: Laya_社区 发布时间: 20151218
...cene/Conventional/scene.ls',Laya.Handler.create(this,function(scene){ Laya.stage.addChild(scene); })); ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...cene/Conventional/scene.ls',Laya.Handler.create(this,function(scene){ Laya.stage.addChild(scene); })); ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
.../1MiniGame/mini-game-client/minigame1/bin/libs/laya.core.js:6066:14) at Stage.__proto.render (file:///D:/1MiniGame/mini-game-client/minigame1/bin/libs/laya.core.js:21377:16) at Stage.__proto._loop (file:///D:/1MiniGame/mini-game-client/minigame1/bin/libs/laya.core.js:21330:8) at loop (file:...
来源: Laya_社区 发布时间: 20190114
...ainCanvas; let t = mainCanvas.getTexture(); let imgSp = new Sprite(); Laya.stage.addChild(this.imgSp) imgSp.graphics.drawTexture(t)) 2020-06-17 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 无 相关问题 关...
来源: Laya_社区 发布时间: 20200617
...吗? Sprite有自定义事件 我自己写的类怎么绑定 classthis.stage.event(this.EVENT_COMPLETE,'complete'); 2017-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 请参考自...
来源: Laya_社区 发布时间: 20170110