大约有 120 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0031 秒)
...abox; })); //ball1mat.tilingOffset = new Laya.Vector4(10, 10, 0, 0); ball1.meshRenderer.material = ball1mat; //添加刚体 ball1.addComponent(Laya.PhysicsCollider); let ballrigid1: Laya.Rigidbody3D = ball1.addComponent(Laya.Rigidbody3D); ballrigid1.colliderShape = new Laya.SphereColliderShape(1); b...
来源: Laya_社区 发布时间: 20190506
...andler.create(null, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; } } 附件 : --> laya1.rar 2020-10-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来...
来源: Laya_社区 发布时间: 20201021
...cleCount; j++) { var boxSprite = new Laya.MeshSprite3D(boxMesh); boxSprite.meshRenderer.sharedMaterial = boxMat; var localPos = boxSprite.transform.localPosition; var rad = ((Math.PI * 2) / oneCircleCount) * j; Laya.Matrix4x4.createRotationY(rad, radMatrix); Laya.Vector3.transformCoordinate(radius, ...
来源: Laya_社区 发布时间: 20191112
...属度,尽量高点,反射效果更明显 pbrMat.metallic = 1; teapot.meshRenderer.material = pbrMat; })); ``` (图5)
来源: Laya2.0_文档 发布时间: 20210715
..., Handler.create(null, function(tex){ //pbrMat.albedoTexture = tex; teapot.meshRenderer.material = pbrMat; })); ``` (图5)
来源: Laya2.0_文档 发布时间: 20210715
...rial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1.meshRenderer.material = earthMat; })); ``` 效果如下(图3): (图3) #### 4. 网格加载 单个网格加载使用的 Mesh.load 方法。 ```typescript //加载Mesh Laya.Mesh.load("res/threeDimen/skinMo...
来源: Laya2.0_文档 发布时间: 20210715
...rial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1.meshRenderer.material = earthMat; })); ``` 效果如下(图3): (图3) #### 4. 网格加载 单个网格加载使用的 Mesh.load 方法。 ```typescript //加载Mesh Laya.Mesh.load("res/threeDimen/skinMo...
来源: Laya2.0_文档 发布时间: 20210715
...(null, function(tex:Texture2D):void { //pbrMat.albedoTexture = tex; teapot.meshRenderer.material = pbrMat; })); ``` (图5)
来源: Laya2.0_文档 发布时间: 20210715
...rial(); earthMat.albedoTexture = tex; earthMat.albedoIntensity = 1; earth1.meshRenderer.material = earthMat; })); ``` 效果如下(图3): (图3) #### 4. 网格加载 单个网格加载使用的 Mesh.load 方法。 ```typescript //加载Mesh Mesh.load("res/threeDimen/skinModel/L...
来源: Laya2.0_文档 发布时间: 20210715
...ilter.png) 1. Mesh - Mesh Renderer  1. Materials - Size - Element 2. Lightmap Static - Lightmaps - Baked Lightmap - Lightmap Index - Tiling X - Tiling Y - Offset X - Offset Y - Skinned Mesh Renderer ![Skinned Mesh Renderer](./img/components/...
来源: Laya2.0_文档 发布时间: 20200822