大约有 1,305 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0059 秒)
Laya_社区(891) Laya3.0_api(116) Laya2.0_api(95) laya_api(83) Laya2.0_文档(72) Laya3.0_文档(43) Laya_示例(3) Laya2.0_示例(2)
... 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
...化]希望官方可以增加stencil功能 localToGlobal坐标转换 怎么获取对象的坐标 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2017-08-08 09:15 浏览: 1353 关注: 2 人 sfsmmc • 2017-08-08 09:14 比如说:我想把模型放在(0,0,0)位置,我该...
来源: Laya_社区 发布时间: 20170807
...灵显示到舞台 * * <p>也可以获取原始图片数据,分享到网上,从而实现截图效果,示例:</p> * * var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上...
来源: Laya_社区 发布时间: 20180719
...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
...,急,大神帮看哈 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 问题状态 最新活动: 2017-04-27 10:54 浏览: 1816 关注: 3 人 callback • 2017-04-27 10:59 额 这样确实可以 但是我没有手动去改layaAir canvas的属性啊 我是改了它父容器的坐标...
来源: Laya_社区 发布时间: 20170427
... 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
...3`个物理像素。 LayaAir引擎里可以通过`Laya.Browser.clientWidth`获取逻辑分辨率的宽,通过`Laya.Browser.clientHeight`获取逻辑分辨率的高。 在手机等移动设备的竖屏状态下,窄面为宽,长面为高。如果发生了屏幕翻转的横屏状态,则长的...
来源: Laya2.0_文档 发布时间: 20210715
...对微信小游戏好友关系链实现方案 请问有没有方法能够获取“鼠标是否处于按下状态”? Layaair IDE的帧属性面板不见了 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比...
来源: Laya_社区 发布时间: 20181026
...物品相交,画三面边线 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
...信小游戏掉帧严重 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 富文本下划线绘制bug LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 as3 ,LayaAir下调试matter.js物理引擎出错...
来源: Laya_社区 发布时间: 20180517