大约有 4 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0029 秒)
....create(null, function(tex:Texture2D):void { //使用纹理 var earth1:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createSphere(5, 32, 32))) as MeshSprite3D; earth1.transform.translate(new Vector3(10, 20, -8)); var earthMat:BlinnPhongMaterial = new BlinnPhongMaterial(); earthMat.alb...
来源: Laya2.0_文档 发布时间: 20210715
...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1.mesh...
来源: Laya2.0_文档 发布时间: 20210715
...l, function(tex) { //使用纹理 var earth1 = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(5, 32, 32))); earth1.transform.translate(new Laya.Vector3(10, 20, -8)); var earthMat = new Laya.BlinnPhongMaterial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1...
来源: Laya2.0_文档 发布时间: 20210715
...yaScene_AAA`。 ##### 3.3.3 场景导出与预设导出的区别 Scene3D与Sprite3D分别是场景导出的配置项和预设导出的配置项。如下图所示。  ##### 场景 `Scene3D` 采用`Scene3D(场景)`选项导出,会导出整个场景,无论场景中的模型、...
来源: Laya2.0_文档 发布时间: 20210714