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

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

1251. laya.physics.joint.DistanceJoint_API3.0 [ 45%]

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

1252. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为2D坐标? [ 45%]

...化]希望官方可以增加stencil功能 localToGlobal坐标转换 怎么获取对象的坐标 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2017-08-08 09:15 浏览: 1353 关注: 2 人 sfsmmc • 2017-08-08 09:14 比如说:我想把模型放在(0,0,0)位置,我该...

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

1253. 截屏drawToCanvas的疑问 [ 45%]

...灵显示到舞台          *          * <p>也可以获取原始图片数据,分享到网上,从而实现截图效果,示例:</p>          *          * var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上...

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

1254. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 44%]

...ngShi.ls",Handler.create(null,function(scene:Scene3D):void { //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera:Camera = scene.getChildByName("Main Camera") as Camera; //清除摄像机的标记 camera.clearFlag = BaseCamera.CLEARFLAG_SKY; //添加光照 var d...

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

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

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

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

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

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

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

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

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

1259. 射线检测报错,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

1260. 横竖屏切换,此引擎渲染有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