大约有 850 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(460) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya3.0_文档(53) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37)
...lb:Label = null; constructor() { super(); this._lb = new Label(); this._lb.size(ListDataSourceItem.WID, ListDataSourceItem.HEI); this.addChild(this._lb); // this._img = new Image(); // this._img.size(ListDataSourceItem.WID, ListDataSourceItem.HEI); // this.addChild(this._img); } public set dataSourc...
来源: Laya_社区 发布时间: 20180410
....addChild(button); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.size(w, h); button.graphics.fillText(label, w / 2, 17, "20px simHei", "#ffffff", "center"); return button; } onDecreaseAlpha1(e) { const Event = Laya.Event; //移除鼠标单击事件 this.button1.off(Event.CLICK, this, this....
来源: Laya2.0_示例 发布时间: 20251209
...算Obb包围盒变换到另一Obb包围盒的矩阵 OrientedBoundBox getSize(out:Vector3):void 该包围盒需要考虑的尺寸 OrientedBoundBox getSizeSquared(out:Vector3):void 该包围盒需要考虑尺寸的平方 OrientedBoundBox intersectsRay(ray:Ray, out:Vector3):Number 该包围盒...
来源: laya_api 发布时间: 20170929
...oat32ArrayDataTexture2D simLodRect : Uint32Array[static] DataTexture2D size : Size[read-only] 获取尺寸。 BaseTexture source : *[read-only] 获取纹理资源。 BaseTexture src : String[read-only] 获取文件路径全名。 DataTexture2D width : int[read-only] 获取宽度。 BaseText...
来源: laya_api 发布时间: 20170929
...ring): TextInput { var ti: TextInput = new TextInput(); ti.skin = skin; ti.size(300, 50); ti.sizeGrid = "0,40,0,40"; ti.font = "Arial"; ti.fontSize = 30; ti.bold = true; ti.color = "#606368"; Laya.stage.addChild(ti); return ti; } } } new laya.UI_Input();package { import laya.display.Stage; import la...
来源: Laya_示例 发布时间: 20251209
...ring): TextInput { var ti: TextInput = new TextInput(); ti.skin = skin; ti.size(300, 50); ti.sizeGrid = "0,40,0,40"; ti.font = "Arial"; ti.fontSize = 30; ti.bold = true; ti.color = "#606368"; Laya.stage.addChild(ti); return ti; } } } new laya.UI_Input();package { import laya.display.Stage; import la...
来源: Laya2.0_示例 发布时间: 20251209
... Laya.stage.addChild(this.aniFly); // 创建按钮 this.btn = new Sprite().size(205, 55); this.btn.graphics.drawRect(0, 0, this.btn.width, this.btn.height, "#057AFB"); this.txt = new Text(); this.txt.text = "销毁"; this.txt.pos(75, 15); this.txt.fontSize = 25; this.txt.color = "#FF0000"; this.btn....
来源: Laya2.0_示例 发布时间: 20251209
...问题我提过多次,但应该还没有解决。 text=new Text(); text.size(120,80); text.font="位图字体名"; text.piovtY=text.height>>1; text.align = "center"; text.valign= "middle"; text.borderColor="#ffffff"; 上下中心不对称,左右是对的,如图 附件 : --> 2016-11-1...
来源: Laya_社区 发布时间: 20161116
...算Obb包围盒变换到另一Obb包围盒的矩阵 OrientedBoundBox getSize(out:Vector3):void 该包围盒需要考虑的尺寸 OrientedBoundBox getSizeSquared(out:Vector3):void 该包围盒需要考虑尺寸的平方 OrientedBoundBox intersectsRay(ray:Ray, out:Vector3):Number 该包围盒...
来源: Laya2.0_api 发布时间: 20190513
...我切换适配模式(noscale)"; txt.bold = true; txt.pos(0, 200); txt.fontSize = 30; txt.on("click", this, onTxtClick); Laya.stage.addChild(txt); //实例一个小人,放到右上角,并相对布局 var boy1 = new Image(); boy1.skin = "../../res/cartoonCharacters/1.png"; boy1.top = 0; boy1.righ...
来源: Laya_示例 发布时间: 20251209