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

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

541. laya.maths.Matrix [ 60%]

... Matrix 对象。 Matrix  destroy():void 销毁此对象。 Matrix  getScaleX():Number 获取 X 轴缩放值。 Matrix  getScaleY():Number 获取 Y 轴缩放值。 Matrix  identity():Matrix 将本矩阵设置为单位矩阵。 Matrix  invert():Matrix 执行原始矩阵的逆转换。 Matri...

来源: laya_api 发布时间: 20170929

542. 输入设备-指南针 [ 60%]

...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

543. 3D变换 · LayaAir3.0文档 · LAYABOX [ 60%]

... 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

544. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 60%]

...   map.dir = directory;                     var scaleRate = 1;                     if (this._data.meta && this._data.meta.scale && this._data.meta.scale != 1) {                         scaleRate = parse...

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

545. 输入设备-指南针 [ 60%]

...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

546. laya.ui.Panel [ 60%]

...的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩...

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

547. laya.maths.Matrix [ 60%]

... Matrix 对象。 Matrix  destroy():void 销毁此对象。 Matrix  getScaleX():Number 获取 X 轴缩放值。 Matrix  getScaleY():Number 获取 Y 轴缩放值。 Matrix  identity():Matrix 将本矩阵设置为单位矩阵。 Matrix  invert():Matrix 执行原始矩阵的逆转换。 Matri...

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

548. laya.display.Scene [ 60%]

...的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩...

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

549. laya.d3.math.Vector4 [ 60%]

...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

550. 骨骼动画-换装 [ 60%]

...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