大约有 142 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)
...址](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
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/SkyPanoramicMaterial" SkyPanoramicMaterial Class SkyPanoramicMaterial SkyPanoramicMaterial 类用于实现SkyPanoramicMaterial材质。 Hierarchy Material SkyPanoramicMaterial Implements IClone Index Constructors con...
来源: Laya3.0_api 发布时间: 20231115
EffectMaterial设置texture强制debugger 使用引擎版本2.0beta5,使用effectmaterial设置贴图的时候会强制debugger 发现EffectMaterial类中 /** *设置贴图。 *@param value 贴图。 */ /** *获取贴图。 *@return 贴图。 ...
来源: Laya_社区 发布时间: 20181128
...,更详细的可以查看原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