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

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

71. [LayaAir3][LayaAir3.0.10]预制体的Scale变化会导致transform.getForword输出也发生变化 [ 89%]

...ayaAir3][LayaAir3.0.10]预制体的Scale变化会导致transform.getForword输出也发生变化 请恕我孤陋寡闻,都不敢确定这个现象是不是bug, 目前在预制体中,设置scale的缩放倍数,如:放大10倍。 然后将此预制体预加载后在游戏中进行创建,...

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

72. TS分离模式设置未打包图片输出目录导出资源无法加载未打包资源 [ 89%]

TS分离模式设置未打包图片输出目录导出资源无法加载未打包资源 如图设置 修改加载代码 Laya.loader.load([     { url: "res/atlas/comp.atlas", type: Loader.ATLAS },     { url: "unpack/comp/image.png", type: Loader.IMAGE },     { url: "test/TestPage.json", t...

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

73. tiledMap场景切换问题 [ 89%]

...页面的点击事件呢。。 我分了两个JS,第一个JS点击事件输出1,第二个点击事件输出2,场景切换完以后我点击,输出还是1 但是场景什么的都变了 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

74. laya.d3.math.Matrix3x3 [ 89%]

...四列) Parameters sou:Matrix4x4 — 4x4源矩阵  out:Matrix3x3 — 3x3输出矩阵 createFromRotation()method  public static function createFromRotation(rad:Number, out:Matrix3x3):void 根据指定旋转生成3x3矩阵 Parameters rad:Number — 旋转值  out:Matrix3x3 — 输出矩阵 create...

来源: laya_api 发布时间: 20170929

75. laya.d3.math.Matrix3x3 [ 89%]

...四列) Parameters sou:Matrix4x4 — 4x4源矩阵  out:Matrix3x3 — 3x3输出矩阵 createFromRotation()method  public static function createFromRotation(rad:Number, out:Matrix3x3):void 根据指定旋转生成3x3矩阵 Parameters rad:Number — 旋转值  out:Matrix3x3 — 输出矩阵 create...

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

76. 自定义shader-shader预编译 [ 88%]

...高效。Laya3D.init(0, 0, true); //开启Shader编译调试模式,可在输出宏定义编译值。 Laya.ShaderCompile3D.debugMode = true; var sc = Laya.ShaderCompile3D.get("SIMPLE"); //部分低端移动设备不支持高精度shader,所以如果在PC端或高端移动设备输出的宏定义值...

来源: Laya_示例 发布时间: 20251130

77. laya.maths.Matrix3x3_API3.0 [ 88%]

...ths/Matrix3x3.ts:273 计算3x3矩阵的逆矩阵 Parameters out: Matrix3x3 输出的逆矩阵 Returns void rotate rotate(rad: number, out: Matrix3x3): void Defined in laya/maths/Matrix3x3.ts:221 根据指定角度旋转3x3矩阵 Parameters rad: number 旋转角度 out: Matrix3x3 输出矩阵 Returns...

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

78. laya.d3.math.Matrix4x4 [ 88%]

...createScaling(scale:Vector3, out:Matrix4x4):void[static] 根据缩放计算输出矩阵 Matrix4x4  createTranslate(trans:Vector3, out:Matrix4x4):void[static] 根据平移计算输出矩阵 Matrix4x4  decomposeTransRotMatScale(translation:Vector3, rotationMatrix:Matrix4x4, scale:Vector3):Boolean ...

来源: laya_api 发布时间: 20170929

79. laya.d3.math.Matrix3x3_API3.0 [ 88%]

...ath/Matrix3x3.ts:273 计算3x3矩阵的逆矩阵 Parameters out: Matrix3x3 输出的逆矩阵 Returns void rotate rotate(rad: number, out: Matrix3x3): void Defined in laya/d3/math/Matrix3x3.ts:221 根据指定角度旋转3x3矩阵 Parameters rad: number 旋转角度 out: Matrix3x3 输出矩阵 Retur...

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

80. Shader概述(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 87%]

...表一种特定类型的可编程处理。每个阶段都有一组输入和输出,这些输入和输出从上一阶段传递到后续阶段(无论是否可编程)。 **LayaAir自定义Shader支持的两种类型:** ​ **顶点着色器(Vertex shader)** :顶点着色器是渲染管线中...

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