大约有 41 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
...safari浏览器,iphone的谷歌浏览器 遮罩大概率触发黑屏 怎么获取当前触发鼠标点击的某个物体 Laya2.0 的3D射线检测能拿到触发模型在射线触发点上的法线吗 list拉到顶部的时候,如何防止触发多次请求 问题状态 最新活动: 2023-05-09 17...
来源: Laya_社区 发布时间: 20230509
... Laya.Scene.open('xxx.scene', false, data); 我知道是可以用onOpened获取参数, 但是如果是用于弹窗有个问题,界面先显示出来,才执行onOpened 这个该怎么传参数啊 2019-12-05 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20191205
...添加到舞台后,可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合...
来源: Laya3.0_文档 发布时间: 20251010
...不是要做一个和unity中移动物体一样的?如果是的话,先获取camera的视锥远平面或者近平面,求与此平面平行的过3D模型坐标的平面A,接下来要做的就是控制3D模型在平面A上移动。获取鼠标在平面A上通过射线碰撞获取的3D坐标。...
来源: Laya_社区 发布时间: 20170904
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...
来源: Laya3.0_文档 发布时间: 20251010
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 ratio ratio: number = 1.5 Defined in laya/physics/joint/PulleyJoint.ts:27 [首次设置有效]两刚体移动距离比率 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdito...
来源: Laya3.0_api 发布时间: 20231115
...PointToRay的第一个参数传的是在canvas的坐标,Laya.stage.mouseX获取的是在state的坐标 所有你要Laya.stage.clientScaleX *Laya.stage.mouseX或者用Laya.MouseManager.instance.mouseX
来源: Laya_社区 发布时间: 20180201
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115