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

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

181. laya.d3.core.light.PointLight_API3.0 [ 54%]

...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

182. 如何动态添加Animator和加载AnimationClip并播放 [ 54%]

...ene.getChildAt(0) as Sprite3D;       var animator:Animator = meshSprite.addComponent(Animator) as Animator;       var clip:AnimationClip=AnimationClip.load("res/LayaScene/Assets/unit/Unit_1111-A101.lsani");       animator.addClip(clip,"attack");       animator.play("attack"); }); 2018-02...

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

183. PBR标准材质实时阴影渲染问题 [ 54%]

...form.position = new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = Laya.Vector3._ZERO; var directionLight = (scene_360 as Laya.Node).getChildByName('Directional light') as Laya.DirectionLight; //灯光开启阴影 directionLight.shadow = tru...

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

184. 材质动画的使用(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 54%]

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

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

185. laya.d3.core.BaseCamera_API3.0 [ 54%]

...ds _initialize _processActive addAllLayers addChild addChildAt addChildren addComponent addComponentInstance addLayer bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasLi...

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

186. 材质动画的使用(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 54%]

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

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

187. laya.d3.core.light.SpotLight_API3.0 [ 54%]

...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

188. 射线BUG [ 54%]

...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

189. 如何获取unity导出的摄像机 [ 54%]

...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

190. UNITY导出的模型旋转不了 [ 54%]

...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