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

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

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

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

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

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

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

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

4. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 85%]

...Texture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:Sprite3D = this.findChild(monkey,"bonepoint"); //将盒子精灵添加到找到的骨骼节点上 bonePoint&&bonePoint.addChild(box); })); ``` > 节点查找 ```types...

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

5. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 85%]

...Texture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:Sprite3D = this.findChild(monkey,"bonepoint"); //将盒子精灵添加到找到的骨骼节点上 bonePoint&&bonePoint.addChild(box); })); ``` > 节点查找 ```types...

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

6. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 82%]

...Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(...

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

7. 在Unity中设置动画事件(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 75%]

...n(scene) { Laya.stage.addChild(scene); //获取cube对象 var cube = scene.getChildByName("Cube"); //添加组件(脚本) var _script = cube.addComponent(SceneScript); //label用于显示 var _lab = new Laya.Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize = 40; _lab.p...

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

8. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 74%]

...Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(...

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

9. 从Unity中编辑并导出摄像机(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 74%]

...ya.stage.addChild(scene); //从场景中获取摄像机 var camera = scene.getChildByName("Main Camera"); //后续对摄像机的逻辑操作....... } } ``` ​ 在Untiy中,摄像机默认名为“Main Camera”,因此在上述代码中,通过scene的getChildByName(“Main Camera”)方法得...

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

10. 从Unity中编辑并导出摄像机(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 74%]

...ya.stage.addChild(scene); //从场景中获取摄像机 var camera = scene.getChildByName("Main Camera"); //后续对摄像机的逻辑操作....... } } ``` ​ 在Untiy中,摄像机默认名为“Main Camera”,因此在上述代码中,通过scene的getChildByName(“Main Camera”)方法得...

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