大约有 1,204 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(630) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(58) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...hader/files/PixelSimpleTextureSkinnedMesh.ps中void main方法中的gl_FragColor=texColor*v_Color改为gl_FragColor=texColor,即可忽略制作模型中设置的顶点色! 谢谢使用,如有问题,随时反馈!附最终效果图。 2016-10-21 3 1 分享 微博 QZONE 微信 cuixueying ...
来源: Laya_社区 发布时间: 20161021
...MoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SOLIDCOLOR; //方向光 let directionLight = this.scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); let mat = directionLight.transfor...
来源: Laya_社区 发布时间: 20201127
...表示沿着顶点位置表面的“ u”(水平纹理)轴指向的方向 color颜色 顶点颜色表示顶点的基本颜色(如果有的话)。 uv坐标 一个网格最多可以包含八组纹理坐标。纹理坐标通常称为 UV,这些集合称为通道。 骨骼(可选) 在蒙皮网格...
来源: Laya3.0_文档 发布时间: 20251010
...; (selectSprite3D.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorRed; if(this.oldSelectMesh) if(selectSprite3D!=this.oldSelectMesh) (this.oldSelectMesh.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorWrite; this.oldSelectMesh = selectSprite3D; /...
来源: Laya2.0_文档 发布时间: 20210714
...width = 250; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.color = "ff00ff"; //使用我们注册的字体 txt.font = mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } 2018-09-19 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问...
来源: Laya_社区 发布时间: 20180919
...ton); this.text=new Laya.Text(); Laya.stage.addChild(this.text); this.text.color="#00ff00"; this.text.fontSize=30; Laya.stage.addChild(this.text); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.changeAction); } tActionID:number=0; changeAction() { this.tActionID++; var aniCount:number; //获取动画...
来源: Laya2.0_文档 发布时间: 20210715
...lationWorldPostion : Vector3[read-only] VertexShurikenParticleMesh startColor : Vector4[read-only] VertexShurikenParticleMesh startLifeTime : Number[read-only] VertexShurikenParticleMesh startRotation0 : Vector3[read-only] VertexShurikenParticleMesh startRotation1 : Vector3[read-only] Ve...
来源: Laya2.0_api 发布时间: 20190513
... this.scene.addChild(directionLight); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); //灯光开启阴影 directionLight.shadow = true;...
来源: Laya_社区 发布时间: 20190509
...nWorldPostion : Vector3[read-only] VertexShurikenParticleBillboard startColor : Vector4[read-only] VertexShurikenParticleBillboard startLifeTime : Number[read-only] VertexShurikenParticleBillboard startRotation0 : Vector3[read-only] VertexShurikenParticleBillboard startRotation1 : Vector...
来源: Laya2.0_api 发布时间: 20190513
...unds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 fa...
来源: Laya2.0_api 发布时间: 20190513