大约有 2,594 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya_社区(2141) Laya3.0_api(88) Laya2.0_api(73) Laya_示例(72) Laya2.0_示例(70) laya_api(64) Laya2.0_文档(63) Laya3.0_文档(23)
... 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_文档 发布时间: 20251010
...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_示例 发布时间: 20260303
...LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Lay...
来源: Laya_示例 发布时间: 20260303
...delta : int[read-only] 两帧之间的时间间隔,单位毫秒。Timer scale : Number = 1 时针缩放。TimerPublic Methods MethodDefined By Timer(autoActive:Boolean = true) 创建 Timer 类的一个实例。 Timer callLater(caller:*, method:Function, args:Array = null):void 延迟执...
来源: Laya2.0_api 发布时间: 20190513
... 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 = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes2/goblins.sk"; mFactory = new...
来源: Laya2.0_示例 发布时间: 20260303
... Matrix 对象。 Matrix destroy():void 销毁此对象。 Matrix getScaleX():Number 获取 X 轴缩放值。 Matrix getScaleY():Number 获取 Y 轴缩放值。 Matrix identity():Matrix 将本矩阵设置为单位矩阵。 Matrix invert():Matrix 执行原始矩阵的逆转换。 Matri...
来源: laya_api 发布时间: 20170929
... SHAPEORIENTATION_UPZ Accessors localOffset localRotation type Methods _setScale addChildShape bindRigidBody clone cloneTo destroy getChildShapeCount removeChildShape updateLocalTransformations Constructors constructor new CannonCompoundColliderShape(): CannonCompoundColliderShape Overrides CannonCo...
来源: Laya3.0_api 发布时间: 20231102
...(750, 1334, Laya.WebGL); //设置适配模式 Laya.stage.scaleMode = "exactfit"; //实例一个背景 var bg = new Laya.Image(); bg.skin = "res/bg.png"; Laya.stage.addChild(bg); })(); 在layaIDE,微信开发者工具模拟器,和iPho...
来源: Laya_社区 发布时间: 20180604
...ot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 transformV3ToV4 Constructors constructor new ConchVector3(x?: number, y?: number, z?: number, nativeElements?: Float32Array): ConchVector3 Defined in laya/d3/ma...
来源: Laya3.0_api 发布时间: 20231102