• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 921 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.3405 秒)

891. 求指点3d射线碰撞和UI点击穿透的问题 [ 46%]

...享 微博 QZONE 微信 suteam 赞同来自: fevilbo 已解决,先监听舞台的MOUSE_DOWN事件,然后对其回调的evt.target进行检测即可知道是UI还是3d模型 2018-01-30 1 1 分享 微博 QZONE 微信 qian 赞同来自: layaFlash跟原生flash有些地方存在差异:      mou...

来源: Laya_社区 发布时间: 20180120

892. 性能统计面板介绍(ActionScript-2D进阶篇(AS3)-性能优化) [ 46%]

...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

893. 如何点击屏幕任何区域让模型运动到此处 [ 46%]

...拉伸了 Dialog:屏蔽点击Dialog之外的区域关闭弹框 加载到舞台的3D模型不显示贴图 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 ui list 里面的元素不能点击两次 救命!canvas定位后 点击区域偏移,求大大...

来源: Laya_社区 发布时间: 20170904

894. laya.ui.ScaleBox_API3.0 [ 45%]

... 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

895. 按钮组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...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

896. laya.ui.TextArea_API3.0 [ 45%]

... 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

897. 使用百度地图显示当前位置(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 45%]

...d(this); ``` ​ 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1。百度地图界面的初始化放在init()中。然后是监听设备位置的变化。最后需要注意,函数convertToBaiduCoord()是将获取到的坐标转换至百度地图坐标,由于它...

来源: Laya2.0_文档 发布时间: 20210715

898. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 44%]

...is)"); } ``` ​ 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1。百度地图界面的初始化放在init()中。然后是监听设备位置的变化。最后需要注意,函数convertToBaiduCoord()是将获取到的坐标转换至百度地图坐标,由于它...

来源: Laya2.0_文档 发布时间: 20210715

899. 小游戏子域程序加载到图集后,取图集内资源报错。 [ 44%]

...折叠 要回复问题请先登录 发起人 Charles 相关问题 加载到舞台的3D模型不显示贴图 请问在layaIDE里,怎么调用微信小程序API 用二的幂次方图集和非二的幂次方图集区别在哪? IDE1.7.8 json图集加载问题 laya2.0加载3d场景报错Uncaught Type...

来源: Laya_社区 发布时间: 20180830

900. laya.ui.WXOpenDataViewer_API3.0 [ 44%]

...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