大约有 921 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.3405 秒)
Laya_社区(590) Laya2.0_文档(118) Laya3.0_api(66) Laya2.0_api(60) laya_api(56) Laya3.0_文档(19) Laya_示例(7) Laya2.0_示例(5)
...享 微博 QZONE 微信 suteam 赞同来自: fevilbo 已解决,先监听舞台的MOUSE_DOWN事件,然后对其回调的evt.target进行检测即可知道是UI还是3d模型 2018-01-30 1 1 分享 微博 QZONE 微信 qian 赞同来自: layaFlash跟原生flash有些地方存在差异: mou...
来源: Laya_社区 发布时间: 20180120
...t laya.utils.Stat; public class Demo { public function Demo() { //初始化舞台 Laya.init(1334,750); //调用性能统计面板方法,(0,0)为面板位置坐标 Stat.show(0,0); } } } ``` ### 2、FPS相关的介绍 ### 2.1 FPS概述 FPS是每秒传输帧数(Frames Per Second)的缩写。假设游...
来源: Laya2.0_文档 发布时间: 20210714
...拉伸了 Dialog:屏蔽点击Dialog之外的区域关闭弹框 加载到舞台的3D模型不显示贴图 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 ui list 里面的元素不能点击两次 救命!canvas定位后 点击区域偏移,求大大...
来源: Laya_社区 发布时间: 20170904
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...i/button-5.png", "resources/res/ui/button-6.png"]; // 计算将Button至于舞台中心的偏移量 this.xOffset = (Laya.stage.width - this.HORIZONTAL_SPACING * (this.COLUMNS - 1) - this.BUTTON_WIDTH) / 2; this.yOffset = (Laya.stage.height - this.VERTICAL_SPACING * (this.skins.length / this.COLUMNS ...
来源: Laya3.0_文档 发布时间: 20251010
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...d(this); ``` 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1。百度地图界面的初始化放在init()中。然后是监听设备位置的变化。最后需要注意,函数convertToBaiduCoord()是将获取到的坐标转换至百度地图坐标,由于它...
来源: Laya2.0_文档 发布时间: 20210715
...is)"); } ``` 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1。百度地图界面的初始化放在init()中。然后是监听设备位置的变化。最后需要注意,函数convertToBaiduCoord()是将获取到的坐标转换至百度地图坐标,由于它...
来源: Laya2.0_文档 发布时间: 20210715
...折叠 要回复问题请先登录 发起人 Charles 相关问题 加载到舞台的3D模型不显示贴图 请问在layaIDE里,怎么调用微信小程序API 用二的幂次方图集和非二的幂次方图集区别在哪? IDE1.7.8 json图集加载问题 laya2.0加载3d场景报错Uncaught Type...
来源: Laya_社区 发布时间: 20180830
...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...
来源: Laya3.0_api 发布时间: 20231102