大约有 119 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0048 秒)
....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
...以应用于2D对象(如Sprite、Image等)和3D对象(如Sprite3D的材质)上,用于呈现图像、颜色和细节。 1、纹理资源基础 1.1 纹理资源的类型 LayaAir引擎支持多种类型的纹理资源: 普通纹理资源:常规的图像纹理,如png、jpg、webp等后...
来源: Laya3.0_文档 发布时间: 20251128
..., 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
...体模型。因为当物体受到力的作用时,力的大小、物体的材质、弹性、塑性等因素会导致物体发生形变。尽管如此,在很多物理模拟中,若物体的形变对整体运动过程影响较小,或者为了简化问题,我们仍然将物体视为刚体,忽...
来源: Laya3.0_文档 发布时间: 20251010
... 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