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

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

31. laya.d3.animation.AnimationNode_API3.0 [ 84%]

...constructor Properties name Methods addChild clone cloneTo getChildByIndex getChildByName getChildCount removeChild Constructors constructor new AnimationNode(): AnimationNode Defined in laya/d3/animation/AnimationNode.ts:22 创建一个新的 AnimationNode 实例。 Returns AnimationNode Properties...

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

32. 单个场景加载的时候,使用的Scene3D.load方法的第一个例子,地面部分是白色的 [ 84%]

...加上,这个高度和区域是针对官网寻路例子使用的 (scene.getChildByName('Scenes').getChildByName('HeightMap')).active = false; (scene.getChildByName('Scenes').getChildByName('Area') ).active = false;   2021-02-26 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...

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

33. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 84%]

...时候,我在代码中动下面圆盘的transform.positionthis.block = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.ge...

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

34. 发射射线检测不到,物体有包围盒 [ 83%]

...     self.owner.addChild(scene3d);              var lv = scene3d.getChildByName("--- GAMEPLAY ---").getChildByName("Levels Parent");              // Laya.Sprite3D.load("res/prefabs/Conventional/prefabs.lh", Laya.Handler.create(null, function (sp) {                        ...

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

35. PBRStandardMaterial材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 82%]

...erial.SmoothnessSource_MetallicGlossTexture_Alpha; let barrel = this.scene.getChildByName("Wooden_Barrel"); let barrel1 = this.scene.getChildByName("Wooden_Barrel (1)"); let barrel2 = this.scene.getChildByName("Wooden_Barrel (2)"); let barrel3 = this.scene.getChildByName("Wooden_Barrel (3)"); barrel...

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

36. PBRStandardMaterial材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 82%]

...rdMaterial.SmoothnessSource_MetallicGlossTexture_Alpha; var barrel = scene.getChildByName("Wooden_Barrel") as Laya.MeshSprite3D; var barrel1 = scene.getChildByName("Wooden_Barrel (1)") as Laya.MeshSprite3D; var barrel2 = scene.getChildByName("Wooden_Barrel (2)") as Laya.MeshSprite3D; var barrel3 = s...

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

37. PBRStandardMaterial材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 81%]

...oothnessSource_MetallicGlossTexture_Alpha; var barrel:MeshSprite3D = scene.getChildByName("Wooden_Barrel") as MeshSprite3D; var barrel1:MeshSprite3D = scene.getChildByName("Wooden_Barrel (1)") as MeshSprite3D; var barrel2:MeshSprite3D = scene.getChildByName("Wooden_Barrel (2)") as MeshSprite3D; var ...

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

38. 2.6.1物理bug [ 81%]

... this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComponent(PhysicsCollider); collision.restitution = 0.1; this.ball = this.scene3D.getCh...

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

39. localToGlobal获取坐标总是错误! [ 81%]

...道是否是我代码的问题,附件有DEMO工程 let buttonTest = this.getChildByName("buttonTest"); this.sprteCenter = this.getChildByName("sprteCenter"); this.boxSpaw = this.getChildByName("boxSpaw"); //this.spriteSpaw.loadImage("../..") buttonTest.on(Laya.Event.CLICK,this,()=>{ let point =...

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

40. 高级应用-基于物理渲染 [ 80%]

...e.once(Laya.Event.HIERARCHY_LOADED, this, function () { var camera = scene.getChildByName("Camera"); camera.addComponent(CameraMoveScript); });class PBRDemo { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.S...

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