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

大约有 221 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)

41. 我在Layasample主类中,检测键盘按下并输出一切正常,可是放到其他类里面则能检测到按键按下,却一直输出undefined [ 46%]

...人 qq282196521 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 请问有没有方法能...

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

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

...发起人 Hankex 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 求指点3d射线碰撞和UI点击穿透的问题 ide 2.4 layaair2-cmd 编译报错 laya2.0加载3d场景报错Unca...

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

43. 3D中摄像机绕物体旋转该如何实现? [ 43%]

...max: number) { this.min = min; this.max = max; } } /// <summary> /// Rectangle area on plane. /// </summary> class PlaneArea { /// <summary> /// Center of area. /// </summary> public center: Transform3D; /// <summary> /// Width of area. /// </summary> public width...

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

44. 官方案例里摄像机绕物体旋转脚本的问题 [ 43%]

...max: number) { this.min = min; this.max = max; } } /// <summary> /// Rectangle area on plane. /// </summary> class PlaneArea { /// <summary> /// Center of area. /// </summary> public center: Transform3D; /// <summary> /// Width of area. /// </summary> public width...

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

45. 打包安卓Android studio黑屏 [ 43%]

...p h578dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1808) mAppBounds=Rect(0, 0 - 1080, 1808) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.29}, config:{1.0 ?mcc?mnc [zh_CN_#Hans] ldltr sw360dp w360dp h578dp 480dpi nrml long port ...

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

46. 有关Laya3D碰撞检测疑问 [ 42%]

...5, 0, 0), true, false); this.camera.clearColor = null;  //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1);  //平面 ...

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

47. laya.display.Sprite_API3.0 [ 40%]

...e();//创建一个 Sprite 类的实例对象 sprite 。 shape.graphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有边框的填充矩形。 shape.x = 400;//设置 shape 对象相对于父容器的水平方向坐标值。 shape.y = 200;//设置 shape 对象相对于父容器的...

来源: Laya3.0_api 发布时间: 20231115

48. 物理引擎显示旋转问题 [ 38%]

..., 50, 8, 1, 10, 10, function(x, y) {             return Bodies.rectangle(x, y, 50, 20, { collisionFilter: { group: group } });         });                  Composites.chain(ropeA, 0.5, 0, -0.5, 0, { stiffness: 0.8, length: 2, render: { type: 'line' } });     ...

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

49. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 38%]

... woody1720596907 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 预设怎么在代码中使用 求指点3d射线碰撞和UI点击穿透的问题 laya2.2 导出场景物理碰撞问题 移植了一个游戏 ...

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

50. laya.html.dom.HTMLIframeElement_API3.0 [ 34%]

...mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLat...

来源: Laya3.0_api 发布时间: 20231102