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

大约有 437 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)

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

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

202. laya.d3.core.Sprite3D [ 53%]

...置。 Sprite3D addChildren(... args):void 批量增加子节点 Node  addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node  clone():* 克隆。 Sprite3D  cloneTo(destObject...

来源: laya_api 发布时间: 20170929

203. laya.d3.core.BaseCamera_API3.0 [ 53%]

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

204. laya.d3.core.light.SpotLight_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. 射线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

206. 如何获取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

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

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

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

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

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

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