• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 596 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)

481. 使用layaair-cmd管理资源版本报错 [ 53%]

...,在项目目录下运行:layaair-cmd resourceVersion -i bin -o ./ -n 1000 返回是一堆报错: internal/child_process.js:323 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at _errnoException (util.js:1022:11) at ChildProcess.spawn (internal/child_process.js:323:11) at exports.spa...

来源: Laya_社区 发布时间: 20180514

482. timer无法执行 [ 53%]

....loadwall(); this.loopShoot(); } public loopShoot(): void{ Laya.timer.loop(1000, this, this.shootBall); }   public shootBall(): void{ //生成空中降落的球 //var random: number = Math.random()*24-7; let ball: Laya.MeshSprite3D = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(1)); this.s...

来源: Laya_社区 发布时间: 20190506

483. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 53%]

... FishPonds = new FishPonds(); Laya.stage.addChild(testUI); Laya.timer.loop(1000, this, function () { testUI.rotation = 360 console.log("rotation!" + testUI.rotation); }); } 附件 : --> hitTestPoint.zip 2018-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

来源: Laya_社区 发布时间: 20180315

484. MeshSprite3D如何用缓动变化 透明度alpha值? [ 53%]

...成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 laya2.0如何用命令行执行清理并导出功能 请问Texture2D如何用base64字符串构建对象 UI编辑里面添加的rect怎么设置透明度? 如何用 FlashBuild...

来源: Laya_社区 发布时间: 20180327

485. Laya.timer.loop 的优先级 [ 53%]

...引1换成了索引0, oy2419498011 • 2018-02-27 16:17 Laya.timer.loop(1000,this,delete_); function delete_(){ // Laya.timer.clear(this,delete_); delete_desktop(1); } function delete_desktop(cut_out){ if(cut_out==1){ delete_majian() }; }; function delete_majian(){ game.bottom.removeChild(game.bot...

来源: Laya_社区 发布时间: 20180227

486. 动画编辑修改任意一组其中一帧导致所有帧都被默认相同 [ 52%]

...都没了。 假设有10组动画,每组都有100帧,那么就要修改1000次宽高....真坑呀。   理论上每拖拽上传的时候 每一帧的 x=0,y=0, width=(图片上传后的宽),height(图片上传后的高)。   2017-12-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20171204

487. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 52%]

... window["test"] = new NewTest(); window["test"].Load(); Laya.timer.once(10*1000, null, window["test"].UnLoad);如题所示,我用demo测试,加载一个json文件,然后延迟10秒钟调用释放资源,在Laya.Loader["loadedMap"]查看,确实已经去掉了。 但是内存并没有降下...

来源: Laya_社区 发布时间: 20181018

488. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 52%]

...相机 var camera: Laya.Camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); })); } } 2019-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

来源: Laya_社区 发布时间: 20190426

489. laya.d3.core.Camera [ 52%]

... Camera(aspectRatio:Number = 0, nearPlane:Number = 0.3, farPlane:Number = 1000) 创建一个 Camera 实例。 Camera _cloneTo(destObject:*, srcRoot:Node, dstRoot:Node):void[override] 克隆。 Sprite3D  _isLayerVisible(layer:int):Boolean 通过蒙版值获取蒙版是否显示。 Camera  _pars...

来源: Laya2.0_api 发布时间: 20190513

490. 官方DynamicBatchTest照做为什么动态合不了批? [ 52%]

...a.Vector3(1, 1, 1);   var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 6.2, 10.5)); camera.transform.rotate(new Laya.Vector3(-40, 0, 0), true, false); camera.addComponent(CameraMoveScript);   Laya.Texture2D.load("res/threeDimen/layabox.png"...

来源: Laya_社区 发布时间: 20191112