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

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

2511. CPU优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 39%]

...以使用局部变量来保存它: ```typescript foo() { var prop=this.target.prop; //使用prop this.process1(prop); this.process2(prop); this.process3(prop); } ``` ### 二、计时器 LayaAir提供两种计时器循环来执行代码块。 1. `Laya.timer.frameLoop`执行频率依赖于帧频率...

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

2512. 使用二进制图片 · LayaAir3.0文档 · LAYABOX [ 38%]

... let sp1:Sprite = new Sprite(); //加载Base64图片数据 sp1.loadImage(e.target.result as string); this.owner.addChild(sp1); } }); 上述代码中,用 Laya.loader.fetch 加载图片二进制数据,根据自定义的规则,可以解析数据加密方式,并获得完整图片数据。在这...

来源: Laya3.0_文档 发布时间: 20230303

2513. FBX导出Index was outside the bounds of the array [ 38%]

...reInfo culture) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.O...

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

2514. 1.0 骨骼drawcall优化猥琐方法 [ 38%]

...e:int = context._nBlendType;             o._blendFn = context._targets ? BlendMode.targetFns[blendType] : BlendMode.fns[blendType];             o.shaderValue = sv;             o.shaderValue.setValue(context._shader2D);             var filters:Array = c...

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

2515. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 38%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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

2516. [LayaNative3]3.2.0-beta2的windows模拟器启动黑屏 [ 38%]

...hrome出现错误: Error processing launch: Error Could not attach to main target Chrome104.0.51112.102版本LayaBox2.13.0启动报错 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 LayaNative在Android 11上启动闪退 高频使用遮罩 导致手机扫码测试闪屏/黑屏 2.1...

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

2517. 模型资源设置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...的原数据,获得模型原始效果。 导入变形目标 import Morph Target 导入模型中的变形目标morph target(也叫混合形状Blend Shape)数据。 3.2 索引数据格式index Format 索引数据用于确定顶点在顶点缓冲区中的位置,从而构建几何体的形状。...

来源: Laya3.0_文档 发布时间: 20251010

2518. Laya中的宏编译要怎么用啊 [ 37%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 成都雨墨游戏 求 laya 程序开发人员 Laya mac版的IDE 是没测试就上线了吗? 关于Laya实...

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

2519. laya.ui.ScrollBar_API3.0 [ 37%]

...ollRect scrollSize showButtons sizeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentI...

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

2520. Laya2.9Unity插件问题 [ 37%]

...reInfo culture) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.O...

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