大约有 481 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
Laya_社区(255) Laya_示例(61) Laya3.0_api(39) Laya2.0_文档(33) Laya2.0_api(28) Laya2.0_示例(25) laya_api(21) Laya3.0_文档(19)
...链接 提交 1 个回复 cuixueying 赞同来自: 矩阵相关你可以在Math包下找到!譬如:import laya.d3.math.Matrix4x4; 2017-02-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 XiaozeRain 相关问题 看了其他引擎才...
来源: Laya_社区 发布时间: 20170224
...es | Index | Frames No Frames MatrixProperties | Methods Packagelaya.mathsClasspublic class MatrixInheritanceMatrix Object Matrix 类表示一个转换矩阵,它确定如何将点从一个坐标空间映射到另一个坐标空间。 您可以对一个显示对象执行不同的图形转换...
来源: Laya2.0_api 发布时间: 20190513
...| Index | Frames No Frames Vector4Properties | Methods Packagelaya.d3.mathClasspublic class Vector4InheritanceVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By elements : *四维向量元素数组Vector4 ONE : Vector4...
来源: laya_api 发布时间: 20170929
...ICK, this, onSpriteClick); } function onSpriteClick(e) { var randomAngle = Math.random() * 180; //发送自定义事件 sp.event(ROTATE, [randomAngle]); } // 触发自定义的rotate事件 function onRotate(newAngle) { Tween.to(sp, { "rotation": newAngle }, 1000, Ease.elasticOut); } })();module laya...
来源: Laya_示例 发布时间: 20251130
...== SCREEN_HORIZONTAL) { mat.rotate(Math.PI / 2); mat.translate(screenHeight / pixelRatio, 0); canvasDegree = 90; } else { ...
来源: Laya_社区 发布时间: 20180712
... (c < 0 && a < -c)) { a = c; s = p / 4; } else s = p / PI2 * Math.asin(c / a); return (a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * PI2 / p) + c + b); }可以按照原来的函数仿写自己想要的 2018-01-04 0 2 分享 微博 QZONE 微信 he853066732 赞同来自: 2018-04-0...
来源: Laya_社区 发布时间: 20180104
...e&name=Secne3DPlayer2D)) ```typescript //变换位置 this._position.x = Math.sin(this.scaleDelta += 0.01) * 2; this._position.z = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project(this._positio...
来源: Laya2.0_文档 发布时间: 20210714
...e&name=Secne3DPlayer2D)) ```typescript //变换位置 this._position.x = Math.sin(this.scaleDelta += 0.01) * 2; this._position.z = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project(this._positio...
来源: Laya2.0_文档 发布时间: 20210715
...; i < this._colorNums; i++) { let offset = i * 4; colorBuffer[offset] = Math.random(); colorBuffer[offset + 1] = Math.random(); colorBuffer[offset + 2] = Math.random(); colorBuffer[offset + 3] = 1; } //设置uniformbuffer this.batchMat.setBuffer("colormap", colorBuffer); } //随机生成_spriteNu...
来源: Laya3.0_文档 发布时间: 20251010
...| Index | Frames No Frames Vector4Properties | Methods Packagelaya.d3.mathClasspublic class Vector4InheritanceVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By ONE : Vector4[static] Vector4 UnitW : Vector4[static] Vec...
来源: Laya2.0_api 发布时间: 20190513