大约有 21 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0037 秒)
...曝光强度 var exposureNumber = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Laya.Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Laya.Handler.create(null, function(mesh){ teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0,...
来源: Laya2.0_文档 发布时间: 20210715
...强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Laya.Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Laya.Handler.create(null, function(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(...
来源: Laya2.0_文档 发布时间: 20210715
...强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Handler.create(null, function(mesh:Mesh):void { teapot = scene.addChild(new MeshSprite3D(mesh)) as MeshSprite3D; teapot.transform.position = new Ve...
来源: Laya2.0_文档 发布时间: 20210715
...``typescript //初始化Shader MultiplePassOutlineMaterial.initShader(); //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey...
来源: Laya2.0_文档 发布时间: 20210714
# 材质的加载 ###### *version :2.1.0beta Update:2019-5-14* 在上面的例子中我们创建了标准材质,但在实际的项目运用中,我们很少用代码的方式给模型赋材质,而是直接在3D软件制作或在unity中创建材质,然后通过工具导出LayaAir格式后使...
来源: Laya2.0_文档 发布时间: 20210715
# 材质的加载 ###### *version :2.1.0beta Update:2019-5-14* 在上面的例子中我们创建了标准材质,但在实际的项目运用中,我们很少用代码的方式给模型赋材质,而是直接在3D软件制作或在unity中创建材质,然后通过工具导出LayaAir格式后使...
来源: Laya2.0_文档 发布时间: 20210714
# 材质的加载 ###### *version :2.1.0beta Update:2019-5-14* 在上面的例子中我们创建了标准材质,但在实际的项目运用中,我们很少用代码的方式给模型赋材质,而是直接在3D软件制作或在unity中创建材质,然后通过工具导出LayaAir格式后使...
来源: Laya2.0_文档 发布时间: 20210715
...后,我们就可以使用了。 > 使用自定义材质 ```typescript //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { //设置猴子 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh...
来源: Laya2.0_文档 发布时间: 20210715
...后,我们就可以使用了。 > 使用自定义材质 ```typescript //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { //设置猴子 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh...
来源: Laya2.0_文档 发布时间: 20210715
...后,我们就可以使用了。 > 使用自定义材质 ```typescript //加载网格 Laya.Mesh.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { //设置猴子 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh...
来源: Laya2.0_文档 发布时间: 20210715