大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0118 秒)
Laya_社区(1586) Laya2.0_文档(137) Laya3.0_api(100) Laya3.0_文档(84) Laya2.0_api(77) laya_api(61) Laya_示例(34) Laya2.0_示例(31)
...aleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; const monkey1Path = "https://layaair2.ldc2.layabox. ... 3B%3B Laya.loader.load(monkey1Path, Laya.Handler.create(this, function() { let monkey = Laya.loader.getRes(monkey1Path); let ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.g...
来源: Laya_社区 发布时间: 20190927
...el(): Panel Overrides UIComponent.constructor Defined in laya/ui/Panel.ts:31 创建一个新的 Panel 类实例。 在 Panel 构造函数中设置属性width、height的值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node...
来源: Laya3.0_api 发布时间: 20231115
... _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited...
来源: Laya3.0_api 发布时间: 20231115
... _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from AnimationBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string ...
来源: Laya3.0_api 发布时间: 20231102
...,那么该如何计算实际位置与获取的位置之间的偏差呢 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: skew是斜切,它的位置信息不回改变,只是形...
来源: Laya_社区 发布时间: 20170307
...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoPlay : Boolean = true是否自动播放Particle2D autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。...
来源: laya_api 发布时间: 20170929
...画三的开始的状态如果对接上动画二的最终状态呢? 2017-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 用TimeLine的方式即可 var sp:Sprite=new Sprite(); sp...
来源: Laya_社区 发布时间: 20170615
...t.__super.prototype._update.call(this, state); if (this.owner) { this.x += 1; var translate = new Laya.Vector3(this.x, 500, 0); Laya.Utils3D.convert3DCoordTo2DScreenCoord(translate, convertTranslate); this.owner.transform.localPosition = convertTranslate; } } }()); 2016-11-26 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20161126
laya.device.motion详解:陀螺仪与加速计1、陀螺仪2、加速计2.1 获取设备物理方向运动信息2.2 获取设备显示方向运动信息laya.device.motion详解:陀螺仪与加速计 laya.device.motion中共有四个类供开发者使用,分别为加速信息AccelerationInfo...
来源: Laya3.0_文档 发布时间: 20251010
...ionInfo。本节将详细描述laya.device.motion API的相关内容。 ## 1、陀螺仪 `Gyroscope`通过`change`事件对设备方向改变进行监听。该事件有两个回调参数: - `absolute` —— 如果设备提供的方位是基于设备坐标系统和地球坐标系统间的差...
来源: Laya2.0_文档 发布时间: 20210715