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

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

491. 角色碰撞器添加复合型碰撞形状,报错Qt[a[((a[(t >> 2)] + 8) >> 2)]] is not a function [ 78%]

角色碰撞器添加复合型碰撞形状,报错Qt[a[((a[(t >> 2)] + 8) >> 2)]] is not a function        <<<<<<<<报错: //飞机 let plane = scene.getChildByName("plane") as Laya.MeshSprite3D; let character: Laya.CharacterController = plane.addComponent...

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

492. Laya.Geolocation.enableHighAccuracy = true; 报错 [ 78%]

...没有添加 <script type="text/javascript" src="libs/laya.device.js"></script> 2018-03-06 0 0 分享 微博 QZONE 微信 qian 赞同来自: 最好上传一下项目   2018-03-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无...

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

493. rev-path的nodejs库被修改了,导致版本管理失效 [ 78%]

...odifyFilename = require('modify-filename'); module.exports = (pth, hash) => { if (!(pth && hash)) { throw new Error('`path` and `hash` required'); } return modifyFilename(pth, (filename, ext) => `${filename}-${hash}${ext}`); }; module.exports.revert = (pth, hash) => { if (!(pth &amp...

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

494. laya.utils.Browser [ 78%]

...多个属性值优先级为:window.innerHeight(包含滚动条高度) > document.body.clientHeight(不包含滚动条高度) > document.documentElement.clientHeight(不包含滚动条高度),如果前者为0或为空,则选择后者。 Browser  clientWidth : Number[static] [read-only] ...

来源: laya_api 发布时间: 20170929

495. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 78%]

...olean, param?: any, complete?: any, progress?: any): Promise<Laya.Scene> { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") complete = param; if (progress instanceof Handler) { let h = progress; progress = (value: number) => ...

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

496. 关于横竖屏问题 [ 78%]

...可视区域的width和height,当width<height时为竖屏,当width>height时为横屏 2016-11-08 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 shuiyue654 相关问题 发起问题须知,必看!!!不按提问规则的...

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

497. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 78%]

...ex); _colorSpr.cacheAs = "bitmap"; _colorSpr.pos((1024 - _colorTex.width) >> 1, (768 - _colorTex.height) >> 1); _colorSpr.size(_colorTex.width, _colorTex.height); Laya.stage.addChild(_colorSpr); _initPixelCount = getPixel(_colorTex); addEvent(); } private function addEvent():void { _colo...

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

498. [结束]通过IDE创建的ui,如何在代码里生成 [ 78%]

...么如何在代码中调用以生成这个ui呢? 官方例子javascript->layaair ide篇->使用ide创作->创建动效模板 当我按照教程学习的时候,“在项目中展示动效模板的效果 ”的代码无法运行。 var efc = new ui.TestPUI(); 可TestPUI这个类在哪里...

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

499. laya.utils.Browser [ 78%]

...多个属性值优先级为:window.innerHeight(包含滚动条高度) > document.body.clientHeight(不包含滚动条高度) > document.documentElement.clientHeight(不包含滚动条高度),如果前者为0或为空,则选择后者。 Browser  clientWidth : Number[static] [read-only] ...

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

500. drawTexture的matrix参数是怎么用的 [ 78%]

... 1 个回复 Sy 赞同来自: const matrices = Array(4).fill('').map(_ => new Laya.Matrix()) matrices.forEach((matrix, i) => matrix.rotate(Math.PI / 2 * i)) tileIndices.forEach((idxOnSource, idxOnTilemap) => { if (!idxOnSource) return const position = tilemap.getTilePositionByIndex(idxOnTil...

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