大约有 821 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0044 秒)
Laya_社区(448) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37) Laya3.0_文档(36)
...问题我提过多次,但应该还没有解决。 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_示例 发布时间: 20241118
..."../../res/threeDimen/ui/button.png", "切换动作")); changeActionButton.size(160, 40); changeActionButton.labelBold = true; changeActionButton.labelSize = 30; changeActionButton.sizeGrid = "4,4,4,4"; changeActionButton.scale(Laya.Browser.pixelRatio, Laya.Browser.pixelRatio); changeActionButton.po...
来源: Laya_示例 发布时间: 20241118
...模式(noscale)"; this.txt.bold = true; this.txt.pos(0, 200); this.txt.fontSize = 30; this.txt.on("click", this, this.onTxtClick); Laya.stage.addChild(this.txt); //实例一个小人,放到右上角,并相对布局 let boy1 = new Image(); boy1.skin = "res/cartoonCharacters/1.png"; boy1.top = 0; ...
来源: Laya2.0_示例 发布时间: 20241118
...图1-1) 1.2 TextArea属性介绍 (图1-2) 属性:text、font、fontSize、color、style、syntax、align、bgColor、bordercolor、overflow、wordWrap(默认为true)、leading、padding、underlinecolor、stroke、strokeColor、skin、sizeGrid、type、maxchars、restrict、prompt、prom...
来源: Laya3.0_文档 发布时间: 20241014
...法只执行一次 onAwake(): void { this.panel.pos(100, 100); this.panel.size(200, 200); this.panel.scrollType = Laya.ScrollType.Both; //滚动类型:水平与垂直都滚动 this.panel.vScrollBarSkin = "atlas/comp/vscroll.png"; this.panel.hScrollBarSkin = "atlas/comp/hscroll.png"; this.panel.ela...
来源: Laya3.0_文档 发布时间: 20241014
...; 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....
来源: Laya_示例 发布时间: 20241118
...CPUMemory _setCreateURL _setGPUMemory clear destroy event getContext getMemSize getTexture hasListener isCreateFromURL off offAll offAllCaller on once release size toBase64 toBase64Async destroyUnusedResources Constructors constructor new HTMLCanvas(createCanvas?: boolean): HTMLCanvas Overrides Reso...
来源: Laya3.0_api 发布时间: 20231115
... { panel = new Panel(); panel.size(Laya.stage.width,Laya.stage.height); panel.vScrollBarSkin=""; panel.vScrollBar.visible = false; panel.vScrollBar.elasticDistance = 300; p...
来源: Laya_社区 发布时间: 20180612