大约有 120 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0031 秒)
... function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图12)
来源: Laya2.0_文档 发布时间: 20210714
...d { //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714
...onents depth destroyed displayedInStage hideFlags id is3D layer meshFilter meshRenderer minX minZ numChildren parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains ...
来源: Laya3.0_api 发布时间: 20231102
...re:Texture2D):void { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` (图12)
来源: Laya2.0_文档 发布时间: 20210715
...set = tilingOffset; //设置材质 plane.meshRenderer.material = planeMat; //平面添加物理碰撞体组件 var planeStaticCollider = plane.addComponent(Laya.PhysicsCollider); //创建盒子形状碰撞器 ...
来源: Laya_社区 发布时间: 20201120
...10, 10, 0, 0); //板的画面的渲染材质 plane.meshRenderer.material = planeMat; //创建球 this.addSphere(); } //添加球体 addSphere(){ let radius = 0.5; let sphere = this.scene.addChild(new Laya.MeshS...
来源: Laya_社区 发布时间: 20191009
...LayaNative中skinned mesh 模型不显示问题 项目中,设置了一个meshrenderer和一个skinned mesh renderere,然后扫描二维码,web端显示正常,而native中,人物丢失了 web native 附件 : --> NatvieSkinMeshRendererTestDemo.zip 2020-03-13 添加评论 免费帖 -...
来源: Laya_社区 发布时间: 20200313
...collision.other.owner === this.sphere){ ((this.owner as Laya.MeshSprite3D).meshRenderer.sharedMaterial as Laya.BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 1.0); } } 附件 : --> 2019-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20190817
微信小游戏上渲染阴影报错 只要开启meshRenderer.receiveShadow = true加载到shadowPSSMDistance时报图中的错。 附件 : --> 2019-06-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron...
来源: Laya_社区 发布时间: 20190617
... Inherited Externals Only exported Menu Globals "laya/d3/core/SimpleSkinnedMeshRenderer" SimpleSkinnedMeshRenderer Class SimpleSkinnedMeshRenderer Hierarchy SkinnedMeshRenderer SimpleSkinnedMeshRenderer Implements IBoundsCell Index Constructors constructor Properties _bones _extra _receiveShadow _si...
来源: Laya3.0_api 发布时间: 20231115