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

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

2501. Sprite-节点控制 [ 44%]

...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { ape1.rotation += 2; ape2.rotation -= 4; } } }

来源: Laya2.0_示例 发布时间: 20260303

2502. 用raycast选取实体,hitresult始终是false [ 44%]

...些plane实体,但outHitResult.succeeded仍然是false,且collider也是null,方法用错了吗?   2.  截图中射线的方向对吗,camera的位置是0,0,4,但射线的起点看起来是0,0,0,这是为什么?   貌似要为实体添加碰撞组件,但不知道该如何添加  ...

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

2503. laya.filters.ColorFilter_API3.0 [ 44%]

...5 创建一个 ColorFilter 实例。 Parameters Default value mat: any[] = null (可选)由 20 个项目(排列成 4 x 5 矩阵)组成的数组,用于颜色转换。 Returns ColorFilter Properties _matrix _matrix: any[] Defined in laya/filters/ColorFilter.ts:25 当前使用的矩阵 Method...

来源: Laya3.0_api 发布时间: 20231115

2504. 滤镜的集中实现 [ 44%]

... Laya.loader.load("res/atlas/comp.json",Handler.create(this,completeLoad),null,Loader.ATLAS); } public function completeLoad():void { //原始位图 createImg(200,50); //红色滤镜 createRedFilter(); //创建发光滤镜位图**/ createGlowFilter(); //创建阴影滤镜位图 createShadeFilter(); ...

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

2505. 加载TiledMap 不显示 [ 44%]

...stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded), null, new Point(1600, 800));     }      private onStageClick(): void {         var p: Point = new Point(0, 0);         this.layer.getTilePositionByScreenPos(Laya.stage.mouseX, Laya.stage....

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

2506. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 [ 44%]

...选项-》用户设置,搜索typescript,会发现 "typescript.tsdk": null,这一条 在右面选中   用户设置,在下面添加这么一行: "typescript.tsdk":"/usr/local/lib/node_modules/typescript/lib" /usr/local/lib/node_modules/typescript这个路径是你安装typescript的路径...

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

2507. Sprite-轴心点 [ 44%]

...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { sp1.rotation += 2; sp2.rotation += 2; } } }

来源: Laya2.0_示例 发布时间: 20260303

2508. tiledMap 官方示例都运行不了 [ 43%]

...../res/dt.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null);   调用后报错TypeError: Cannot read property 'split' of undefined     at TiledMap.__proto.mergePath (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.tiledmap.js:257:31)     at TiledMap.__pr...

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

2509. 如何通过命令行工具构建和发布项目 [ 43%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2018-08-17 16:17 浏览: 6313 关注: 11 人 babykylin • 2018-08-06 16:19 多少钱,出价吧 三包包 • 2018-08-06 20:22 @babykylin:1000块钱 基本功能 一键MD5码 资...

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

2510. 移动端Laya.VideoTexture播放视频纹理会出现卡顿情况~如何解决? [ 43%]

...this.IndexFrame = dt.getTime();             if (this.VideoTexture != null)                 this.VideoTexture.element.requestVideoFrameCallback(fun);         }         this.VideoTexture.element.requestVideoFrameCallback(fun); 用此方法输出每帧渲染的时间间隔1、PC...

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