大约有 108 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0047 秒)
...立方体天空盒 Dome:球形天空盒 Material:指定天空盒的材质 Power:烘焙的光照强度 Radius:烘焙的光照半径 Max Bounces:烘焙的光照最大反弹数 (图2-8) 图2-8所示,为对一个建筑场景添加多个点光源,烘焙后的效果 2.3 使用代码...
来源: Laya3.0_文档 发布时间: 20241014
....PrimitiveMesh.createCone(raidius, height)); scene.addChild(cone); //设置材质 cone.meshRenderer.material = mat4; //设置位置 cone.transform.position = new Laya.Vector3(Math.random() * 4 - 2, 10, Math.random() * 4 - 2); var rigidBody:Laya.Rigidbody3D = cone.addComponent(Laya.Rigidbody3D); //...
来源: Laya2.0_文档 发布时间: 20210714
...rdMaterial Class PBRStandardMaterial PBRStandardMaterial 类用于实现PBR材质。 Hierarchy PBRMaterial PBRStandardMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUEUE_OP...
来源: Laya3.0_api 发布时间: 20231115
...; // texture.setCompressData(data); mater.albedoTexture = texture; //修改材质贴图的平铺和偏移 // var tilingOffset:Laya.Vector4 = mater.tilingOffset; // tilingOffset.setValue(2, 2, 0, 0); // mater.tilingOffset = tilingOffset; this.box.meshRenderer.material =mater; } } 附件 : --> Texture...
来源: Laya_社区 发布时间: 20220815
...obals "laya/d3/core/material/PBRMaterial" PBRMaterial Class PBRMaterial PBR材质的父类,该类为抽象类。 Hierarchy Material PBRMaterial PBRStandardMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG...
来源: Laya3.0_api 发布时间: 20231115
...ffectMaterial Class EffectMaterial EffectMaterial 类用于实现Mesh特效材质。 Hierarchy Material EffectMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERMODE_ADDTIVE RENDERMODE_ALPHABLENDED R...
来源: Laya3.0_api 发布时间: 20231115
..., 0, 0); planeMat.tilingOffset = tilingOffset; //设置材质 plane.meshRenderer.material = planeMat; this.rotateAngularX(); setTimeout(() => { this.boxA.transform.position = new Laya.Vector3(1, 3, 0); // 移动一下A, 竟...
来源: Laya_社区 发布时间: 20210103
... Class PBRSpecularMaterial PBRSpecularMaterial 类用于实现PBR(Specular)材质。 Hierarchy PBRMaterial PBRSpecularMaterial Implements IClone Index Constructors constructor Properties destoryedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE...
来源: Laya3.0_api 发布时间: 20231102
...rial Class BlinnPhongMaterial BlinnPhongMaterial 类用于实现Blinn-Phong材质。 Hierarchy Material BlinnPhongMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERMODE_CUTOUT RENDERMODE_OPAQUE REND...
来源: Laya3.0_api 发布时间: 20231115
...rial Class UnlitMaterial UnlitMaterial 类用于实现不受光照影响的材质。 Hierarchy Material UnlitMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALBEDOCOLOR ALBEDOTEXTURE ALPHATESTVALUE DEBUG RENDERMODE_ADDTIVE ...
来源: Laya3.0_api 发布时间: 20231115