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

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

201. 射线BUG [ 53%]

...00)); this.camera.transform.translate(new Laya.Vector3(0, 1, 3)); //camera.addComponent(CameraMoveScript); this.camera.clearColor = null; } Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); MousePickingScene.prototype.lateRender = function (state) { MousePickingScene.__super.prototype....

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

202. 如何获取unity导出的摄像机 [ 53%]

...s.scene.addChild(land); var camera = land.getChildByName("Camera"); camera.addComponent(CMS);//控制脚本 console.log(camera); }         2019-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 苏栢 相关问题 unity导出粒...

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

203. UNITY导出的模型旋转不了 [ 53%]

...a.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,function(){ //obj.transform.rotate(vect,false,false); //}); })); })); })(...

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

204. laya.d3.core.RenderableSprite3D_API3.0 [ 53%]

...orm url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener is...

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

205. Spine骨骼动画 · LayaAir3文档 · LAYABOX [ 53%]

...oy-pma.skel").then(() => { //添加spine组件 this.spine = this.sprite.addComponent(Laya.Spine2DRenderNode); this.spine.source = "resources/boy/spineboy-pma.skel"; this.spine.animationName = "walk"; }); } } 另外,spine的GPU渲染优化,默认是开启的,不需要开发者做额外的操...

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

206. 材质动画的使用(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 53%]

... var camera:Camera = scene.getChildByName("Main Camera") as Camera; camera.addComponent(CameraMoveScript); })); ```

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

207. 物理系统之ConfigurableConstraint(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 53%]

...); //创建约束 var configurableConstraint:ConfigurableConstraint = boxA.addComponent(ConfigurableConstraint); //为约束设置两个连接刚体 configurableConstraint.setConnectRigidBody(boxARigid,boxBRigid); ``` - 2.设置锚点anchor和连接锚点connectAnchor ```typescript //设置锚点anc...

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

208. 以前用lm文件加载模型。现在用lh文件加载模型无法贴图 [ 52%]

...ish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); var anifish = fish.addComponent(Laya.SkinAnimations); anifish.templet = Laya.AnimationTemplet.load("fish/denglongyu/FBXtoolsdaochu/denglongyu.lsani"); anifish.player.playByFrame(0,0.5,2147483647,0,30,30);;//游动   新版的就是没注释的...

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

209. 按照范例写的碰撞一直检测不到 this.outHitInfo.distance [ 52%]

... = false; //加载网格碰撞器组件 var sprite3d1MeshCollider=moveArea.addComponent(Laya.MeshCollider); //官方js例子里少了下面这行 sprite3d1MeshCollider.mesh = moveArea.meshFilter.sharedMesh; 2018-01-20 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...

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

210. 物理系统之ConfigurableConstraint(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 52%]

...ody3D); //创建约束 var configurableConstraint:ConfigurableJoint = boxA.addComponent(ConfigurableConstraint); //为约束设置两个连接刚体 configurableConstraint.setConnectRigidBody(boxARigid,boxBRigid); ``` - 2.设置锚点anchor和连接锚点connectAnchor ```typescript //设置锚点anc...

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