大约有 34 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)
...象 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 = this.colorWr...
来源: Laya2.0_文档 发布时间: 20210715
...prite3D = 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 = this.colorW...
来源: Laya2.0_文档 发布时间: 20210714
...er.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
...materials ratioIgnor receiveShadow reflectionMode renderNode renderbitFlag sharedMaterial sharedMaterials volume Methods _applyReflection _cloneTo _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate set...
来源: Laya3.0_api 发布时间: 20231115
...NSPARENT; this.mat.albedoTexture = this.texture2D; this.plane.meshRenderer.sharedMaterial.cull = Laya.RenderState.CULL_NONE; 2020-07-14 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20200714
...) { 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, radMatrix, lo...
来源: Laya_社区 发布时间: 20191112
...erial: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); coneRender.sharedMaterial = coneMaterial; //把圆锥形3D节点对象添加到3D场景节点下 this.scene.addChild(cone); //设置随机位置 this.tmpVector.setValue(Math.random() * 6 - 2, 6, Math.random() * 6 - 2); cone.transform.po...
来源: Laya3.0_文档 发布时间: 20240624
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...erial.albedoTexture = texture; })); //设置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715