大约有 2,765 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0074 秒)
Laya_社区(2225) Laya2.0_示例(116) Laya_示例(97) Laya3.0_api(93) Laya2.0_api(79) laya_api(68) Laya2.0_文档(68) Laya3.0_文档(19)
... Matrix 对象。 Matrix destroy():void 销毁此对象。 Matrix getScaleX():Number 获取 X 轴缩放值。 Matrix getScaleY():Number 获取 Y 轴缩放值。 Matrix identity():Matrix 将本矩阵设置为单位矩阵。 Matrix invert():Matrix 执行原始矩阵的逆转换。 Matri...
来源: laya_api 发布时间: 20170929
...ar firstTime = true; (function() { Laya.init(700, 1024, WebGL); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load(compassImgPath, Handler.create(this, init)); })(); function init() { // 创建罗盘 createComp...
来源: Laya_示例 发布时间: 20241001
... void { var rot: Vector3; if (isRadian) { rot = rotation; } else { Vector3.scale(rotation, Math.PI / 180.0, Transform3D._tempVector30); rot = Transform3D._tempVector30; } Quaternion.createFromYawPitchRoll(rot.y, rot.x, rot.z, Transform3D._tempQuaternion0); if (isLocal) { Quaternion.multiply(this._lo...
来源: Laya3.0_文档 发布时间: 20230821
... map.dir = directory; var scaleRate = 1; if (this._data.meta && this._data.meta.scale && this._data.meta.scale != 1) { scaleRate = parse...
来源: Laya_社区 发布时间: 20201130
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(compassImgPath, Handler.create(this, this.init)); } init() { const Gyroscope = Laya.Gyroscope, Event = Laya.Event; // 创建罗盘 this.createC...
来源: Laya2.0_示例 发布时间: 20241001
...的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩...
来源: Laya2.0_api 发布时间: 20190513
... Matrix 对象。 Matrix destroy():void 销毁此对象。 Matrix getScaleX():Number 获取 X 轴缩放值。 Matrix getScaleY():Number 获取 Y 轴缩放值。 Matrix identity():Matrix 将本矩阵设置为单位矩阵。 Matrix invert():Matrix 执行原始矩阵的逆转换。 Matri...
来源: Laya2.0_api 发布时间: 20190513
...的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩...
来源: Laya2.0_api 发布时间: 20190513
...e(s:Vector4, out:Vector4):void[static] 归一化四维向量。 Vector4 scale(a:Vector4, b:Number, out:Vector4):void[static] 缩放四维向量。 Vector4 subtract(a:Vector4, b:Vector4, out:Vector4):void[static] 求两个四维向量的差。 Vector4 transformByM4x4(vector4:Vector4, m4x4:Ma...
来源: laya_api 发布时间: 20170929
...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes2/goblins.sk"; mFactory = new...
来源: Laya2.0_示例 发布时间: 20241001