大约有 310 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0047 秒)
Laya_社区(147) Laya2.0_文档(45) Laya_示例(35) Laya2.0_示例(32) Laya3.0_文档(17) Laya3.0_api(16) Laya2.0_api(11) laya_api(7)
...p; (this._bitmap.source=this._sources[index]); if (this.label){ this._text.color=this._labelColors[index]; if (this._strokeColors)this._text.strokeColor=this._strokeColors[index]; } } __proto.changeClips=function(){ var img=Loader.getRes(this._skin); if (!img){ console.log("lose skin",this._skin); r...
来源: Laya_社区 发布时间: 20170516
...Bounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这...
来源: laya_api 发布时间: 20170929
...div.style.fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#000000"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl,'<img src="res/ChatFace/face'+i+'.png" style="width:28px;height:28px;"></img>'); } div.pos(30,5); div.innerHTM...
来源: Laya_社区 发布时间: 20170911
...rs GIRotate _isHeightSet _isWidthSet active activeInHierarchy alpha ambientColor ambientIntensity ambientMode ambientSH anchorX anchorY blendMode cacheAs components cullInfoCamera cullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fog...
来源: Laya3.0_api 发布时间: 20231115
...字 var text = new Laya.Label(); text.text = "游戏的水平方向"; text.color = "gray"; text.fontSize = 100; text.centerX = 0; text.centerY = 50; Laya.stage.addChild(text); } Laya.init(0, 0, Laya.WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#232628"; //自动横屏,游戏的水...
来源: Laya2.0_文档 发布时间: 20210715
...t:Laya.Label = new Laya.Label(); text.text = "游戏的水平方向"; text.color = "gray"; text.fontSize = 100; text.centerX = 0; text.centerY = 50; Laya.stage.addChild(text); } Laya.init(0, 0, Laya.WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#232628"; //自动横屏,游戏的水...
来源: Laya2.0_文档 发布时间: 20210715
....addChild(skeleton); text=new Laya.Text(); Laya.stage.addChild(text); text.color="#00ff00"; text.fontSize=30; Laya.stage.addChild(text); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,changeAction); } var tActionID; function changeAction() { tActionID++; var aniCount; //获取动画动作数量 aniCount=s...
来源: Laya2.0_文档 发布时间: 20210715
...</title> <style type="text/css"> .p1{font-family:"Arial bold"; color: #583823;font-size: 25px} .p2{font-family:"Times New Roman";color: #583823;font-size: 25px} .p3{font-family:"Arial Black";color: #583823;font-size: 25px} .p4{font-family:"Arial";color: #583823;font-size: 25px} </styl...
来源: Laya_社区 发布时间: 20180629
... Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#336699"; showApe(); } private function showApe():void { var t:Text = new Text(); t.text = "asdfasd"; t....
来源: Laya_社区 发布时间: 20170406
...Vector3 = new Laya.Vector3(); this.txtName = new Laya.Text(); this.txtName.color = "#FFFFFF"; this.txtName.text = this.playerName; this.txtName.fontSize = 18; this.txtName.font = "Arial"; this.txtName.bold = true; this.txtName.align = "left"; Laya.stage.addChild(this.txtName); //设置其他玩家...
来源: Laya_社区 发布时间: 20171010