大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { ape1.rotation += 2; ape2.rotation -= 4; } } }
来源: Laya2.0_示例 发布时间: 20260303
...些plane实体,但outHitResult.succeeded仍然是false,且collider也是null,方法用错了吗? 2. 截图中射线的方向对吗,camera的位置是0,0,4,但射线的起点看起来是0,0,0,这是为什么? 貌似要为实体添加碰撞组件,但不知道该如何添加 ...
来源: Laya_社区 发布时间: 20191219
...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
... 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
...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
...选项-》用户设置,搜索typescript,会发现 "typescript.tsdk": null,这一条 在右面选中 用户设置,在下面添加这么一行: "typescript.tsdk":"/usr/local/lib/node_modules/typescript/lib" /usr/local/lib/node_modules/typescript这个路径是你安装typescript的路径...
来源: Laya_社区 发布时间: 20170329
...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { sp1.rotation += 2; sp2.rotation += 2; } } }
来源: Laya2.0_示例 发布时间: 20260303
...../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
...用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
...this.IndexFrame = dt.getTime(); if (this.VideoTexture != null) this.VideoTexture.element.requestVideoFrameCallback(fun); } this.VideoTexture.element.requestVideoFrameCallback(fun); 用此方法输出每帧渲染的时间间隔1、PC...
来源: Laya_社区 发布时间: 20230807