大约有 120 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0029 秒)
...ture) { //设置材质纹理 material.albedoTexture = texture; })); earth2.meshRenderer.material = material; ``` (图4) ##### 法线贴图 **Normal maps(法线贴图)**是一个灰度图,可以将它作为物体的一个高度图以便显示一个凹凸的表面,如图10所示,...
来源: Laya2.0_文档 发布时间: 20210714
...理 material.albedoTexture = texture; })); //material.albedoTexture earth2.meshRenderer.material = material; ``` (图4) ##### 法线贴图 **Normal maps(法线贴图)**是一个灰度图,可以将它作为物体的一个高度图以便显示一个凹凸的表面,如图10所示,...
来源: Laya2.0_文档 发布时间: 20210714
...aneMat.tilingOffset = tilingOffset; //设置材质 plane.meshRenderer.material = planeMat; this.rotateAngularX(); setTimeout(() => { this.boxA.transform.position = new Laya.Vector3(1, 3, 0); // 移动一下A, 竟然角度变了?从...
来源: Laya_社区 发布时间: 20210103
....getRes("res/threeDimen/staticModel/grid/plane.lh")); (grid.getChildAt(0)).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castS...
来源: Laya2.0_文档 发布时间: 20210715
...的精灵对象 var selectSprite3D = out.collider.owner; (selectSprite3D.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorRed; if(this.oldSelectMesh) if(selectSprite3D!=this.oldSelectMesh) (this.oldSelectMesh.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = ...
来源: Laya2.0_文档 发布时间: 20210715
...ctor4(255,0,0,255); if((sprite3D as Laya.MeshSprite3D).meshRenderer == null){ this.renders.push( (sprite3D as Laya.SkinnedMeshSprite3D).skinnedMeshRenderer); // console.log( (sprite3D as Laya.SkinnedMeshSprite3D).skinnedMeshRende...
来源: Laya_社区 发布时间: 20210203
...prite3D:MeshSprite3D = out.collider.owner as MeshSprite3D; (selectSprite3D.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorRed; if(this.oldSelectMesh) if(selectSprite3D!=this.oldSelectMesh) (this.oldSelectMesh.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor ...
来源: Laya2.0_文档 发布时间: 20210714
...) { //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714
...e){ //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210715
... function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714