大约有 41 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0022 秒)
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Material&name=EffectMaterialDemo)): ```typescript var earth:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createSphere())) as MeshSprite3D; earth.transform.position = new Vector3(0, 0, 0); //创建EffectMaterial...
来源: Laya2.0_文档 发布时间: 20210715
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Material&name=EffectMaterialDemo)): ```typescript var earth = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere())); earth.transform.position = new Laya.Vector3(0, 0, 0); //创建EffectMaterial材质 var mat...
来源: Laya2.0_文档 发布时间: 20210714
...址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Material&name=EffectMaterialDemo)): ```typescript var earth = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere())) as Laya.MeshSprite3D; earth.transform.position = new Laya.Vector3(0, 0, 0); //创建EffectM...
来源: Laya2.0_文档 发布时间: 20210714
...,更详细的可以查看原demo:([demo地址]())。 ```typescript var material:BlinnPhongMaterial = new BlinnPhongMaterial(); //漫反射贴图 Texture2D.load("res/threeDimen/texture/earth.png", Handler.create(this, function(texture:Texture2D):void { //设置材质纹理 material.albedoTexture ...
来源: Laya2.0_文档 发布时间: 20210714
...,更详细的可以查看原demo:([demo地址]())。 ```typescript var material = new Laya.BlinnPhongMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.albedoTexture = texture; })); ear...
来源: Laya2.0_文档 发布时间: 20210715
...,更详细的可以查看原demo:([demo地址]())。 ```typescript var material = new Laya.BlinnPhongMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.albedoTexture = texture; })); ear...
来源: Laya2.0_文档 发布时间: 20210714
...情可以查看:([demo地址]()); ```typescript //创建Unlit材质 var material2:UnlitMaterial = new UnlitMaterial(); //加载纹理 Texture2D.load("res/threeDimen/texture/earth.png", Handler.create(this, function(texture:Texture2D):void { //设置反照率贴图 material2.albedoTexture = texture...
来源: Laya2.0_文档 发布时间: 20210714
...情可以查看:([demo地址]()); ```typescript //创建Unlit材质 var material2 = new Laya.UnlitMaterial(); //加载纹理 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置反照率贴图 material2.albedoTexture = texture; })); earth2....
来源: Laya2.0_文档 发布时间: 20210714
...情可以查看:([demo地址]()); ```typescript //创建Unlit材质 var material2 = new Laya.UnlitMaterial(); //加载纹理 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture){ //设置反照率贴图 material2.albedoTexture = texture; })); earth2.m...
来源: Laya2.0_文档 发布时间: 20210715
# PBRStandardMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* 基于物理普通反射材质,硬质表面(也就是建筑材质)而设计的,一般用于做粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:B...
来源: Laya2.0_文档 发布时间: 20210715