大约有 799 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0059 秒)
Laya_社区(595) Laya2.0_文档(68) Laya3.0_api(47) laya_api(29) Laya_示例(24) Laya2.0_api(24) Laya3.0_文档(12)
... camera.clearColor = null; //材质 var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("Assets/test.png"); material.albedo = new Laya.Vector4(1, 1, 1, 0.95); material.renderMode = Laya.Stand...
来源: Laya_社区 发布时间: 20180119
...Laya.MeshSprite3D; plane.transform.position = new Laya.Vector3(0,0,0); var material: Laya.StandardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/aaa.png"); material.diffuseTexture.mipmap = false; plane.meshRender.material = material; 附件 : --> 2018-0...
来源: Laya_社区 发布时间: 20180412
...Constructors constructor Properties maxInstanceCount Accessors bufferState material mesh Methods destroy recover run setContext setDrawNums setWorldMatrix Constructors constructor new DrawMeshInstancedCMD(): DrawMeshInstancedCMD Overrides Command.constructor Defined in laya/d3/core/render/command/Dr...
来源: Laya3.0_api 发布时间: 20231115
...情可以查看:([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
...imitiveMesh.createPlane(10, 10))) as Laya.MeshSprite3D; plane.meshRenderer.material = Laya.loader.getRes('sences/Assets/Scenes/TestPro/Materials/Dana.lmat'); plane.meshRenderer.receiveShadow = true; plane.transform.translate(new Laya.Vector3(0, 0.1, 0), false); let test: Laya.MeshSprite3D = scene....
来源: Laya_社区 发布时间: 20191030
...tected All Inherited Externals Only exported Menu Globals "laya/d3/loaders/MaterialParser" MaterialParser Class MaterialParser Hierarchy MaterialParser Index Methods collectLinks parse parseLegacy Methods Static collectLinks collectLinks(data: any, basePath: string): ILoadURL[] Defined in laya/d3/lo...
来源: Laya3.0_api 发布时间: 20231115
...ONE 微信 Laya_Aaron 赞同来自: 将animation文件中 的Mesh Renderer.Material._opacity 删除,即可导出 2017-12-13 0 0 分享 微博 QZONE 微信 mobile3Dbin 赞同来自: 虽然可以导出资源,但是在Layaair加载时,还是会有错误。除了Mesh Renderer.Material._opacity之...
来源: Laya_社区 发布时间: 20171213
...mentationAll Packages | All Classes | Index | Frames No Frames SkyBoxMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class SkyBoxMaterialInheritanceSkyBoxMaterial BaseMaterial laya.resource.Resource SkyBoxMaterial 类用于实现SkyBoxMaterial材质。 Publi...
来源: Laya2.0_api 发布时间: 20190513
...lse); //产生阴影 sphere.meshRender.castShadow=true; //创建材质 let material:Laya.StandardMaterial = new Laya.StandardMaterial(); //材质加载漫反射贴图 material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); //为模型赋材质(单个材质可赋给多个模型) sphere....
来源: Laya_社区 发布时间: 20180302