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

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

1861. 分离模式下使用自定义场景类 [ 50%]

....parseTsImport”,修改该函数体内容:__proto.parseTsImport=function(str){ var tStr = str.replace("import",""); str = 'from'; str = tStr.indexOf(str) > -1 ? str : '='; tStr = StringTool$1.trimSide(tStr.split(str)[0]); this.importDic[tStr] = true; }当然也可以把CodeManager.parseTsImp...

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

1862. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 50%]

...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/ExtendTerrainMaterial" ExtendTerrainMaterial Class ExtendTerrainMaterial ... author ... Hierarchy Material ExtendTerrai...

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

1863. iOS环境浏览器使用mask黑屏 [ 50%]

...e 2.2.0以上的版本编译实例项目,这里用的2.3版本,在GameControl onEnable中执行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.m...

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

1864. 如何加载一个HTML页面 [ 50%]

...载一个HTML页面 2017-11-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 lixiaodog 赞同来自: 代码如下,可是这个页面无法显示 ,且一直报错,"This page contains the following errors:err...

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

1865. libwebsocket [ 50%]

...ogging level 7 [2018/08/21 11:20:31:5504] NOTICE: Libwebsockets version: 2.3.0 layabox_mac@localhost- [2018/08/21 11:20:31:5504] NOTICE: IPV6 compiled in and enabled [2018/08/21 11:20:31:5504] NOTICE: libev support not compiled in [2018/08/21 11:20:31:5505] NOTICE: libuv su...

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

1866. laya.d3.component.animation.CameraAnimations [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CameraAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class CameraAnimationsInheritanceCameraAnimations KeyframeAnimations Component3D EventDispatcher Object CameraAnimations 类用...

来源: laya_api 发布时间: 20170603

1867. 求问Texture和Texture2D的区别,和使用问题 [ 50%]

...?   附件 : --> 2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: texture是2d引擎里的纹理, texture2d 是3d引擎的纹理贴图。 2018-03-14 0 2 分享 微博 QZONE ...

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

1868. input text中文输入法时会调用3次INPUT事件 [ 50%]

input text中文输入法时会调用3次INPUT事件 this.input_text.on(Laya.Event.INPUT, this, this.onInput);   //切换到中文输入法,输入数字,会调用三次,而英文输入法不会 private onInput(ipt: Laya.TextInput) {         console.log("这里会调用三次"); } 2017-05...

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

1869. 重力感应 Accelerator 发布微信游戏后失效。是因为什么? [ 50%]

...ator 发布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) {         let x = accelerationIncludingGravity.x;         let y = accele...

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

1870. layaAir 打包成apk后在真机上运行 使用粒子时报错 [ 50%]

...商            TypeError: this._emitter.advanceTime is not a function            http://192.168.1.240:8900/bin/ ... :831: TypeError: this._emitter.advanceTime is not a function                        this._emitter && this._emitter.advanceTime(t)               ...

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