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

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

211. 为什么谷歌浏览器调试可以显示这些文字打包后却没有了 [ 52%]

... src="res/face/face'+i+'.png" style="width:36px;height:36px;position:relative;top:30px;"></img>'); } div.pos(30,5); div.innerHTML = txt; div.width = div.contextWidth; if(div.contextWidth > 200) div.contextWidth = 200; console.log(div.contextWidth); paopao.y = gRoomVie...

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

212. LayaAir下TTF字体的使用方式? [ 52%]

...无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 问题状态 ...

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

213. 预制体模块 · LayaAir3.0文档 · LAYABOX [ 51%]

...加预制体到场景中 this.scene.addChild( monkey ); monkey.transform.position = new Laya.Vector3(-28.9354,0.3,-63.20264); } ); } } 运行效果如动图3-9 (动图3-9) 四、预加载预制体 在开发过程中,我们会通过大量创建预制体的方式来实现各种功能,因此预...

来源: Laya3.0_文档 发布时间: 20240106

214. LayaAir3D 物理系统之鼠标拾取(射线拾取) [ 50%]

...成的射线与网格碰撞器发生碰撞,取出碰撞信息_outHitInfo.position就是射线与地形的相交点,这位置,就是新增放置角色的位置!                               三.  获取3D场景中的坐标 -- 人物跟随 鼠标行走                ...

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

215. 关于适配模式 Laya.Stage.SCALE_FIXED_AUTO [ 50%]

...t;img id="logo" src="res/loading/logo.png" style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)"> 然后进入游戏逻辑后我又在stage上添加了同样路径下的同一张图片,我想让实现这两张图片在显示上大小保持一致...

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

216. laya 3D碰撞器与 Unity 不一致问题 [ 49%]

...Offset.y !== 0 || shapeOffset.z !== 0) {                 var physicPosition = PhysicsComponent._tempVector30;                 shapeOffset.x *= transform.getWorldLossyScale().x;                 shapeOffset.y *= transform.getWorldLossyScale().y;                 shapeOff...

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

217. u3d模型导出报错,1第一次导出报错,2第二次不会有这个错误提示了,3生成文件后到laya里面使用提示没有动画 [ 47%]

...Engine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolean ignore...

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

218. viewportPointToRay产生的射线始终有偏差,是为什么? [ 47%]

...aya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vector4 = new Vector4(1, 0, 0, 1); private _point:Vector2 = new Vector2(); private _camera:Camera; private _ray:Ray = new Ray(...

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

219. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 47%]

...vg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行呢?打开谷歌浏览器,随便打开你一个空白网页,F12,把上面的代码粘贴到控制台,然后回车,就...

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

220. 新手常问问题 欢迎补充 [ 47%]

...ation 然后点ctrl+6 看有没有我们不支持的节点 目前只支持 position rotation scale     Three     laya写完代码运行后发现场景中有两个模型       这个问题是因为 unity插件把 unity中的摄像机也导出来了 然后laya中又用代码创建了一个摄...

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