大约有 142 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)
...情可以查看:([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
Laya.BlinnPhongMaterial.RENDERMODE_TRANSPARENT设置透明度不行了? var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var mater...
来源: Laya_社区 发布时间: 20190126
# PBRStandardMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* 基于物理普通反射材质,硬质表面(也就是建筑材质)而设计的,一般用于做粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:B...
来源: Laya2.0_文档 发布时间: 20210715
# PBRStandardMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* 基于物理普通反射材质,硬质表面(也就是建筑材质)而设计的,一般用于做粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:B...
来源: Laya2.0_文档 发布时间: 20210714
# PBRStandardMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* 基于物理普通反射材质,硬质表面(也就是建筑材质)而设计的,一般用于做粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:B...
来源: Laya2.0_文档 发布时间: 20210714
material材质平铺 建了一个3D的平面模型,用的是Laya.Texture2D.load加载的图片纹理, 然后给它加了一个var material = new Laya.StandardMaterial();材质 material 创建的贴图材质,这样能平铺吗? var plane = this.scene.addChild(new Laya.MeshSprite3D(new Laya.P...
来源: Laya_社区 发布时间: 20180125
....transform.rotate(new Vector3(0, 45, 0), false, false); //创建材质 var material:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值...
来源: Laya2.0_文档 发布时间: 20210715
...ll Inherited Externals Only exported Menu Globals "laya/d3/core/trail/TrailMaterial" TrailMaterial Class TrailMaterial TrailMaterial 类用于实现拖尾材质。 Hierarchy Material TrailMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQu...
来源: Laya3.0_api 发布时间: 20231115
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/EffectMaterial" EffectMaterial Class EffectMaterial EffectMaterial 类用于实现Mesh特效材质。 Hierarchy Material EffectMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmedia...
来源: Laya3.0_api 发布时间: 20231115
...ya3D HIERARCHY : String = HIERARCHY[static] Hierarchy资源。Laya3D MATERIAL : String = MATERIAL[static] Material资源。Laya3D MESH : String = MESH[static] Mesh资源。Laya3D TERRAINHEIGHTDATA : String = TERRAINHEIGHTDATA[static] Terrain资源。Laya3D TERRAINRES : String = TERRAI...
来源: Laya2.0_api 发布时间: 20190513