大约有 636 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
...能是rendertexture2D里面的start方法内的bindframebuffer语句传的this._framebuffer会出现错误的情况。将this._framebuffer改为null后发现不闪屏了,然后在mask方法流程中使用rendertexture替换rendertexture2D还会闪屏。目前猜测应该也不是这个问题。 c4...
来源: Laya_社区 发布时间: 20220319
...朝向哪里的?代码层面调整是否有效? 我的修改方式: (this.trail.getChildAt(0) as Laya.TrailSprite3D).trailFilter.alignment = 1; 希望官方能解答一下。 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20181219
....loader.create("model/build/warehouse1/warehouse1.lh", Laya.Handler.create(this, onComplete)); function onComplete() { //仓库原型 warehouse1 = Laya.Sprite3D.load("model/build/warehouse1/warehouse1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, fa...
来源: Laya_社区 发布时间: 20180104
...LayaAir引擎库 步骤三、设置启动类并初始化(Window.start(this,启动类)) 步骤四、F11发布flash版本并查看效果 2016-09-05 0 0 分享 微博 QZONE 微信 algic 赞同来自: 谢谢cuixueying这么详细的回复,我大概了解了发布swf的模式,不过使...
来源: Laya_社区 发布时间: 20160904
...pineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { Laya.stage.on(Event.CLICK, this, () => { mArmature ...
来源: Laya_社区 发布时间: 20181120
...ite);//将此 sprite 对象添加到显示列表。 sprite.on(Event.CLICK, this, onClickSprite);//给 sprite 对象添加点击事件侦听。 shape = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 shape.graphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有...
来源: Laya3.0_api 发布时间: 20231115
...023-06-20 18:19:19.035] [resource_tool] [info] FBX file format version for this FBX SDK is 7.7.0 [2023-06-20 18:19:19.035] [resource_tool] [info] lAbsFolderName: D:\2023_6_20_秘密超市\demo\assets\u3d_fbx\Animator\fbx\temp [2023-06-20 18:19:19.036] [resource_tool] [info] FBX file format version f...
来源: Laya_社区 发布时间: 20230621
...调,所以这一行一定会执行。 Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement, reference, 0, 0, reference.width, reference.height]); 3) 而你的代码里并不会执行这一行,你完全拷贝示例代码,会发现是能够播放的。差别就在...
来源: Laya_社区 发布时间: 20200703
.../projects/mylaya11/Tank/src/script/Bullet.ts(4,29): semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. at error (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/rollup/dist/rollup.js:9402:30) at Object.error (/Applications/LayaAir...
来源: Laya_社区 发布时间: 20200311
...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from PixelLineSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:296 克隆。 Returns Node 克隆副本。 contains contains(no...
来源: Laya3.0_api 发布时间: 20231102