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

大约有 663 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0054 秒)

621. laya.display.EffectAnimation [ 49%]

...时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会重置帧循环定时器的起始时间为当前时间,也就是说,如果频繁设置interval,会导致动画帧更新的时间间隔会比预想的要慢,...

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

622. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 48%]

...ins: [ typescript({ tsconfig: projPath + '/tsconfig.json', check: true, // Set to false to avoid doing any diagnostic checks on the code tsconfigOverride: { compilerOptions: { removeComments: true } }, include: /.*.ts/, }), glsl({ include: /.*(.glsl|.vs|.fs)$/, sourceMap: false, compress: false, }),...

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

623. LayaAirIDE 2.0 laya.wxmini.js 第3行报错! 创建3D项目(TypeScript),导出微信小游戏,选择了JS混淆,崩溃在 laya.wxmini.js 第3行,错误如下 [ 48%]

..._AUTO;         }         console.log("Laya.stage.scaleMode set to " + Laya.stage.scaleMode);         console.log("Laya.stage size = " + Laya.stage.width + " x " + Laya.stage.height             + ", design = " + Laya.stage.designWidth + " x " + Laya.stage.designHei...

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

624. laya.components.AnimationClip2D_API3.0 [ 48%]

...puMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addEvent destroy duration event hasListener hermiteCurveSplineWeight isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Object literals tween Constructors construct...

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

625. 内存释放问题 [ 48%]

...any, showCompleteFun: Function): void { ResUIModuleManager.poolModulResDic.set(bigao.Utils.GlobalUtils.getClassNameClass(className), { resNames: resAltlasName, time: Laya.timer.currTimer }); ResUIModuleManager.loadModuleByName(resAltlasName, className, (cn) => { let sv: any = ui.UIControl.instanc...

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

626. laya.d3.core.render.command.CommandBuffer_API3.0 [ 48%]

...gle clearRenderTarget drawMesh drawMeshInstance drawRender getCommandsSize setGlobalColor setGlobalInt setGlobalMatrix setGlobalNumber setGlobalTexture setGlobalVector setGlobalVector2 setGlobalVector3 setRenderTarget setShaderDataColor setShaderDataInt setShaderDataMatrix setShaderDataNumber setSha...

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

627. 如何使用vscode编译laya项目 [ 47%]

...+ "/.rpt2_cache", tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, include:/.*.ts/, }),3、compile.js 完整代码如下 // v1.2.2 //获取Node插件和工作路径 [b]let...

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

628. laya.d3.renderobjs.nativeobj.NativeShaderData_API3.0 [ 47%]

...ffer getValueData getVector getVector2 getVector3 hasDefine removeDefine reset setBool setBuffer setColor setInt setMatrix4x4 setNumber setShaderData setTexture setUniformBuffer setValueData setVector setVector2 setVector3 Properties _dataType _dataType: MemoryDataType Implementation of INativeUploa...

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

629. 引擎 TiledMap 居然不支持图块翻转 [ 47%]

...             super(...arguments);             this._tileTextureSet = null;             this._aniName = null;         }         setTileTextureSet (aniName, tileTextureSet) {             this._aniName = aniName;             this._tileTextureSet = tileTextureSet; ...

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

630. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 47%]

...er(); //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey...

来源: Laya2.0_文档 发布时间: 20210714