大约有 1,107 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0061 秒)
Laya_社区(584) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya3.0_文档(44) 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
...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
... 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
...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
...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; te...
来源: Laya3.0_api 发布时间: 20231115
...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
...; (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); } ``` ### **Text 类中相关接口:** **registerBitmapFont () 方法** public static funct...
来源: Laya2.0_文档 发布时间: 20201114
...unds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 fa...
来源: Laya2.0_api 发布时间: 20190513