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

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

1261. 关于laya生成的canvas定位问题导致内部事件不正确 [ 44%]

...,急,大神帮看哈 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 问题状态 最新活动: 2017-04-27 10:54 浏览: 1816 关注: 3 人 callback • 2017-04-27 10:59 额 这样确实可以 但是我没有手动去改layaAir canvas的属性啊 我是改了它父容器的坐标...

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

1262. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 44%]

...3`个物理像素。 LayaAir引擎里可以通过`Laya.Browser.clientWidth`获取逻辑分辨率的宽,通过`Laya.Browser.clientHeight`获取逻辑分辨率的高。 在手机等移动设备的竖屏状态下,窄面为宽,长面为高。如果发生了屏幕翻转的横屏状态,则长的...

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

1263. laya.physics.RigidBody_API3.0 [ 44%]

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

1264. TypeScript在LayaAir 1.X和2.X中对待module和namespace的异同,求2.x使用自定义namespace的方法(module已经找到方法) [ 44%]

...对微信小游戏好友关系链实现方案 请问有没有方法能够获取“鼠标是否处于按下状态”? Layaair IDE的帧属性面板不见了 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比...

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

1265. 射线检测报错,outHitInfo.sprite3D=null; [ 43%]

...物品相交,画三面边线 if(this.hit.sprite3D) { //从碰撞信息中获取碰撞处的三角面顶点 var trianglePositions:Array<any>= this.hit.trianglePositions; //矢量绘制三角面边线 this.phasorSprite3D.line(trianglePositions[0], new Laya.Vector4(1,0,0,1), trianglePositions[1],...

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

1266. 横竖屏切换,此引擎渲染有BUG [ 43%]

...信小游戏掉帧严重 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 富文本下划线绘制bug LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 as3 ,LayaAir下调试matter.js物理引擎出错...

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

1267. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 43%]

...clickHandler():void{ var url:string = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取。 this.qrcodeSp.loadImage(url,0,0,100,100); } } new Main; ``` 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到...

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

1268. 小白求问:3D模型导入不显示,想做个跟官网教程一样的Demo,导入模型,可以鼠标旋转视角 [ 43%]

...义!这是为什么? 已上传 Demo 附件 请问有没有方法能够获取“鼠标是否处于按下状态”? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? 加载到舞台的3D模型不显示贴图 btn ...

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

1269. laya.physics.joint.WheelJoint_API3.0 [ 43%]

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

1270. 加载 unity3D导入的旧版蒙皮动画时出现错误 [ 42%]

...播放mp3出现The AudioContext was not allowed to start. Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 骨骼动画播放完后的回调时间 路径...

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