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

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

351. laya.d3.component.hlod.HLODBatchSubMesh_API3.0 [ 76%]

...ds Defined in laya/d3/component/HLOD/HLODUtil.ts:21 drawPramas drawPramas: Vector2 Defined in laya/d3/component/HLOD/HLODUtil.ts:22 Globals "laya/d3/component/HLOD/HLODUtil" HLODBatchSubMesh bounds drawPramas HLODConfig HLODElement HLODResourceGroup Legend Object literal Variable Function Type alias...

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

352. 关于平行光渲染投影问题,求解惑 [ 76%]

...ya.Camera; camera.orthographic = true; camera.transform.translate(new Laya.Vector3(0, 4, 8),false); camera.transform.lookAt(new Laya.Vector3(0,0,0),new Laya.Vector3(0,1,0)); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //移动...

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

353. 射线BUG [ 76%]

...gScene() { MousePickingScene.super(this); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); this.phasorSpriter3D = new Laya.PhasorSpriter3D(); this.camera = this.addChild(new Laya.Camera(0, 0.1, 1...

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

354. UNITY导出的模型旋转不了 [ 76%]

...let obj = sp; let obj = scene.addChild(sp); obj.transform.scale = new Laya.Vector3(4, 4, 4); obj.transform.rotate(new Laya.Vector3(0, 0.9, 0)); obj.addComponent(BoxControlScript); //旋转方向与角度设置 //var vect = new Laya.Vector3(0,1,0); //每10毫秒旋转一次 //Laya.timer.loop(10,null,...

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

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

...Laya.RaycastHit; constructor() { super(); this.ray = new Laya.Ray(new Laya.Vector3(0,0,0),new Laya.Vector3(0,-2,0)); this.outHitInfo = new Laya.RaycastHit(); } /*覆写3D组件方法,指3D对象加载组件时执行 *owner:此组件所属的3D对象 */ public _load(owner:Laya.Sprite3D):void{ //...

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

356. 3D场景-地形场景 [ 76%]

...ial.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.Vector2; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; impor...

来源: Laya_示例 发布时间: 20241119

357. 问下,3D模型导出有什么要求 [ 76%]

...new DirectionLight()) as DirectionLight; directionLight.ambientColor = new Vector3(0.6, 0.6, 0.6); directionLight.specularColor = new Vector3(0.6, 0.6, 0.6); directionLight.diffuseColor = new Vector3(0.6, 0.6, 0.6); directionLight.direction = new Vector3(1, -1, 0); 2017-03-20 0 2 分享 微博 QZONE...

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

358. 请问,在使用插件导出包含多个动画的FBX文件时报错,怎么处理? [ 76%]

...a (UnityEngine.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, Boolea...

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

359. 有关Laya3D碰撞检测疑问 [ 76%]

...e test { export class Test { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitAllInfo: Array<Laya.RaycastHit>;  private camera: Laya.Camera; private label: Laya.Label; constructor() { L...

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

360. MissingMethodException: Method not found: 'UnityEngine.LightmapData.get_lightmapColor'. [ 76%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)   2018-10-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ༺永洹༻ 相关...

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