大约有 793 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0056 秒)
Laya_社区(496) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) laya_api(24) Laya3.0_文档(24) Laya_示例(21) Laya2.0_示例(8)
...X:Number, offsetY:Number):HTMLCanvas { return RunDriver.drawToCanvas(this, _renderType, canvasWidth, canvasHeight, offsetX, offsetY); } 2017-05-10 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lu632375951 相关问题 请问LayaAir中...
来源: Laya_社区 发布时间: 20170510
... const { regClass, property } = Laya; @regClass() class Animal { private _weight: number = 0; @property( { type : Number } ) get weight() : number { return this._weight; } set weight(value: number) { this._weight = value; } } 2.3 是否序列化保存 通过装饰器定义为组件属性后,默认...
来源: Laya3.0_文档 发布时间: 20250103
...样) xcode部分日志如下: game[3393:1312918] WebSocket::init m_host: login.huanxi.twbuyu.com, m_port: 27777, m_path: / NOTICE: Initial logging level 7 NOTICE: Libwebsockets version: 2.3.0 layabox_mac@localhost- NOTICE: IPV6 compiled in and enabled NOTICE: libev support not compiled in NOT...
来源: Laya_社区 发布时间: 20181018
...true。 Sprite layerName : String = null当前Layer的名称MapLayer _mapData : Array = nullMapLayer mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示。 【注意】遮罩对象坐标系是相对遮罩对象本身的,和Flash...
来源: Laya2.0_api 发布时间: 20190513
...到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: LT dialog类 private function _onMouseDown(e:Event):void { var point:Point = this.getMousePoint(); if (_dragArea.contains(point.x, point.y)) this.startDra...
来源: Laya_社区 发布时间: 20180719
...到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 首先unity 要使用5.6.x 版本, 然后引擎1.x 要使用 1.7.16的 插件, 引擎2.0需要使用 2.0beta5插件, 然后导出的时候 要选择 sprite,这样导出的就是 lh 文件,选场...
来源: Laya_社区 发布时间: 20171226
... //获取截屏区域的texture var _texture = htmlC.getTexture(); //将截屏的texture进行draw绘制并显示到舞台 var sp2 = new Laya.Sprite(); sp2.x = 300; sp2....
来源: Laya_社区 发布时间: 20190215
...alToGlobal(pos2d); var pos:Vector3 = new Vector3(pos2d.x, pos2d.y, 0); var _translate:Vector3 = new Vector3(0, 0, 0); camera.convertScreenCoordToOrthographicCoord(pos, _translate); 2018-03-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180319
...宽度。 Sprite wrapMode : int = 0播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBase.WRAP_PINGPONG为pingpong播放(当按指定顺序播放完结尾后,如果继续播发,则会改变播放顺序)。AnimationB...
来源: Laya2.0_api 发布时间: 20190513
LayaAir引擎 LayaAir IDE 构建报错,TypeScript error: node_modules/@types/node/base.d.ts' not found. 有人遇到这个问题么?构建直接报错,无法打包! 开始编译: Tue Jan 07 2020 15:34:09 GMT+0800 (CST) -------------------------------------- [15:34:09] Working directory ch...
来源: Laya_社区 发布时间: 20200107