大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0096 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...mera3d.transform.translate(new Vector3(0, 0, 150)); _camera3d.clearColor = null; _camera3d.orthographicProjection = true; _camera3d.transform.rotationEuler = new Vector3(Tools.A2R(-30), Tools.A2R(45)); 当3dcamera有旋转的情况下, Utils3D.convert3DCoordTo2DScreenCoord转换出来的坐标对...
来源: Laya_社区 发布时间: 20161226
...认证令牌支持) static _sendRequest(config) { return __async(this, null, function* () { const { endpoint, method, body, queryParams, token } = config; try { let url = `${this.baseUrl}/${endpoint}`; if (queryParams && Object.keys(queryParams).length > 0) { const searchParams = new UR...
来源: Laya_社区 发布时间: 20251115
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 问题状态 最新活动: 2019-05-29 11:02 浏览: 2630 关注: 6 人 kylin ...
来源: Laya_社区 发布时间: 20190528
...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { sp1.rotation += 2; sp2.rotation += 2; } } }
来源: Laya_示例 发布时间: 20251223
...led = false; } //按钮恢复 function enable_true(v) { v.filters = null; v.mouseEnabled = true; } 报错日志: TypeError: f.action.setValue is not a function at TextureSV.__proto.setFilters (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:22308:15) at TextureSV....
来源: Laya_社区 发布时间: 20170103
...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { ape1.rotation += 2; ape2.rotation -= 4; } } }
来源: Laya2.0_示例 发布时间: 20251223
...些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