大约有 1,702 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0052 秒)
Laya_社区(1360) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(43) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(19)
...oto._changeCanvasSize (http://127.0.0.1:60853/game/su ... 8309:8) at TimerHandler.__proto.run (http://127.0.0.1:60853/game/su ... 816:45) at Timer.__proto._update (http://127.0.0.1:60853/game/su ... 573:13) at Stage.__proto.render (http://127.0.0.1:60853/game/su ... 499:15) a...
来源: Laya_社区 发布时间: 20180504
...生回调问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 graphics alpha 问题 问题状态 最新活动: 2019-03-08 16:53 浏览: 4409 关注: 7 人 kayo • 2019-03-21 08:27 我用2.0的版本测试的,这个问题没有解决,我晕晕晕晕晕晕晕晕晕...
来源: Laya_社区 发布时间: 20190307
...对视口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第一个摄影的视口 var viewport1:Laya.Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = view...
来源: Laya2.0_文档 发布时间: 20210715
...LayaAir3.0引擎,那边实现videoTexture不用自己手动刷新 Laya.timer.frameLoop(1, this, this.updateVideo, [texture2D]); },true); } updateVideo(tempTexture:Laya.Texture2D){ if(this.htmlvideo.video.readyState === this.htmlvideo.video.HAVE_ENOUGH_DATA) { //更新视频纹理 tempTexture.loadI...
来源: Laya_社区 发布时间: 20240305
...s.characterController.restitution = 0; //弹力 在onUpdate 或者用timer驱动运动 或者只执行一次 .move() 都会出现 不规律抖动, this.characterController.move(movePos); 有没有遇到的? 2019-06-26 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190626
...如何操作? 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化,怎么回事啊? 3D模型tween旋转 问题状态 最新活动: 2018-05-29 15:01 浏览: 2526 关注: 4 人 freed...
来源: Laya_社区 发布时间: 20180524
...;audioBufferSourceNode.buffer = buffer;audioBufferSourceNode.start(0);Laya.timer.loop(1,this,this.drawHandler);}private function drawHandler():void{Laya.stage.graphics.clear();var dataArray:Uint8Array = new Uint8Array(analyser.frequencyBinCount);analyser.getByteFrequencyData(dataArray);var step:int ...
来源: Laya_社区 发布时间: 20181023
...引导的抠图透明区域为黑色,其它机型都是正常的。 Laya.timer.loop()如何停止 循环依赖不能运行 Circular dependency: runtime运行报错! 打包安卓,代码正常运行,但是黑屏 3d物理不能触发onCollisionEnter事件 问题状态 最新活动: 2023-10-12 14:...
来源: Laya_社区 发布时间: 20231011
...ture) { this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document.getElementById("layaCanvas"); var spi = new Laya.Sprite(); var spi1 = new Laya.Sprite(); var spi2 = new Laya.Sprite(); this.tempTexture2D.loadImageSource(cans...
来源: Laya_社区 发布时间: 20191230
...ew Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); // drawSomething(); } move() { sp = new Laya.Sprite(); Laya.stage.addChild(sp); //画曲线 if(x<100){ x++; } sp.graphics.clear(); sp.graphics.drawCurves(10, 58, [x, 0, 19, -100, 39, 0], ...
来源: Laya_社区 发布时间: 20190520