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

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

161. 未定义任何生成任务。使用 "isBuildCommand" 在 tasks.json 文件中标记任务。 [ 64%]

...传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 图集打包找不到图集文件 微信小程序—未找到入口 app.json 文件,或者文...

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

162. 3D两个平面拼接的贴图直接会有明显的接缝 [ 64%]

...new Laya.MeshSprite3D(1 , 1, 1, 1))) as Laya.MeshSprite3D; plane.transform.position = new Laya.Vector3(0,0,0); var material: Laya.StandardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/aaa.png"); material.diffuseTexture.mipmap = false; plane.meshRender.mat...

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

163. 使用 addChild 加载界面后,绑定事件报错 [ 64%]

... B页面侦听) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. TextInput重写onFocus和onBlur事件监听不到 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? ...

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

164. 未定义任何生成任务。使用 "isBuildCommand" 在 tasks.json 文件中标记任务 [ 64%]

...传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 图集打包找不到图集文件 微信小程序—未找到入口 app.json 文件,或者文...

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

165. Laya内嵌iframe预览时不显示网页,编辑器和开发者工具上没问题 [ 64%]

...Browser.document.createElement("iframe");         this.iframe.style.position ="absolute";//设置布局定位。这个不能少。         this.iframe.style.zIndex = 1000;//设置层级         this.iframe.style.left ="100px";         this.iframe.style.top ="100px";   ...

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

166. Laya下怎么实现复制 [ 64%]

...+"/99" var iframe = Browser.document.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left =pt.x+"px"; iframe.style.top =pt.y+"px"; iframe.src = "target-div.html"; Browser.document.getElementByI...

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

167. 某些机型drawToCanv绘图颜色变深 [ 63%]

...ddle"); _webframe.setAttribute('scrolling', "no"); _webframe.setAttribute('position', "absolute"); _webframe.setAttribute('style', "z-index:100001;position: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0);"); Browser.document.body.appendChild(_webframe); 下面图片左边是正产机型截...

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

168. 关于3d的碰撞检测 [ 63%]

...角色位置计算射线原点 Laya.Vector3.add(this.ownerSprite.transform.position, new Laya.Vector3(speedX, 1, speedZ), rayOrigin); //射线原点位置更新 this.ray.origin = rayOrigin; //物理射线与碰撞器相交检测 Laya.Physics.rayCast(this.ray, this.outHitInfo, 0); console.log("x:" + ...

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

169. HTMLIframeElement报错 [ 63%]

...都有效,就是滚动条无效,咋办呢? .content{         position: absolute;         margin:5px;         width: 300px;     height: 200px;     overflow:auto;     font-size:20px;     line-height:38px;     font-family:"微软雅黑";     color:#000;     tex...

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

170. 要让2DUI跟随3D物件,比如说敌人头上有血条。请问要怎么做? [ 63%]

...: let out = window.app.fcUtil.worldToViewportPoint(this.owner.transform.position, window.GameMag.Camera1); this.hpNode.x = out.x - this.hpNode.width / 2 this.hpNode.y = out.y + this.hpNode.height *3.5 //this.owner.transform 3d的物体 //this.hpNode 2d的ui   //3d坐标转2d屏幕坐...

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