大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0013 秒)
...ight); Laya.stage.addChild(this.info); Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, onDeviceorientation); function onDeviceorientation(absolute, rotationInfo) { this.info.text = "alpha:" + Math.floor(rotationInfo.alpha) + '\n' + "beta :" + Math.floor(rotationInfo.beta) + '\n' + "gamma:" ...
来源: Laya2.0_文档 发布时间: 20210714
...a.stage.height); Laya.stage.addChild(info); Gyroscope.instance.on(Event.CHANGE, this, onDeviceorientation); } private function onDeviceorientation(absolute:Boolean, rotationInfo:RotationInfo):void { info.text = "alpha:" + Math.floor(rotationInfo.alpha) + '\n' + "beta...
来源: Laya2.0_文档 发布时间: 20210714
...e.height); Laya.stage.addChild(this.info); Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onDeviceorientation); } private onDeviceorientation(absolute: Boolean, rotationInfo: Laya.RotationInfo): void { this.info.text = "alpha:" + Math.floor(rotationInfo.alpha) + '\n' + "beta :" + Math.f...
来源: Laya2.0_文档 发布时间: 20210715