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

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

251. discard property,please use transform's property instead [ 46%]

...sform.rotate(new Laya.Vector3(-15, 0, 0), true, false);         camera.addComponent(CameraMoveScript);         //方向光         var directionLight = scene.addChild(new Laya.DirectionLight());         directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6);         directionLigh...

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

252. u3d 插件导出 简单场景,用最新引擎无法加载成功 [ 46%]

...sform.localPosition = new Laya.Vector3(0,-4,-10); //控制摄像机 camera.addComponent(CameraMoveScript);   2017-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 8 个回复 183*****755 赞同来自: 附下资源 源文...

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

253. 材质-物理基础渲染材质 [ 46%]

...dChild(camera); camera.transform.translate(new Vector3(0, 0, 1.0)); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var skyDome = new Laya.SkyDome(); camera.sky = skyDome; skyDome.texture = Laya.Texture2D.load(envpath + envinfoobj.skytex); skyDome.environment...

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

254. Cannot read property 'toDefault' of undefined报错是什么原因 [ 45%]

...Box.textureCube = Laya.TextureCube.load("skyBox/skyCube.ltc"); this.camera.addComponent(VRCameraMoveScript); 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.Ph...

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

255. 同一类型光源互斥的问题报告 [ 45%]

...or3(0, 1, 0)); camera.clearColor = new Laya.Vector3(0.3, 0.3, 0.5); camera.addComponent(CameraMoveScript); //创建点光[左下角]------------ 这个不生效,除非注释掉light2 var light1 = scene.addChild(new Laya.PointLight()); light1.transform.translate(new Laya.Vector3(-10,3,0));//移动...

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

256. 手机QQ厘米秀GLTF模型使用说明(TypeScript-小游戏适配文档-QQ小游戏) [ 45%]

...erableMap: Map>, skeletonMap: Map) { var animator: Animator = animatorRoot.addComponent(Animator); // animator 添加 渲染节点 队列 renderableMap.forEach(renderableArray => { //@ts-ignore animator._renderableSprites.push(...renderableArray); }); // 添加 animator clip // 在 Unity 中使用...

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

257. 体验LayaAir 3.0.0-beta.4遇到的一些问题 [ 45%]

...y();             const rigidBody: Laya.Rigidbody3D = this.basketball.addComponent(Laya.Rigidbody3D);             const sphereShape: Laya.SphereColliderShape = new Laya.SphereColliderShape(0.3);             rigidBody.colliderShape = sphereShape;             rigidBody.mass = 10...

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

258. 加载 unity3D导入的旧版蒙皮动画时出现错误 [ 44%]

...D;             var skinAni: Laya.SkinAnimations = meshSprite3D.addComponent(Laya.SkinAnimations) as Laya.SkinAnimations;             skinAni.templet = Laya.AnimationTemplet.load(this.skinAniUrl[0]);             skinAni.player.play();         }       ...

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

259. 自定义shader-边缘光照shader [ 44%]

... camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.direction = new Laya.Vector3(1, -1, 0); var dude = scene.addChil...

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

260. laya.d3.core.Camera_API3.0 [ 43%]

...raRenderData addAllLayers addChild addChildAt addChildren addCommandBuffer addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains convertScreenCoordToOrthographicCoord destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getCom...

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