大约有 475 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya3.0_api(141) Laya2.0_api(90) laya_api(79) Laya_社区(70) Laya2.0_文档(60) Laya3.0_文档(28) Laya2.0_示例(4) Laya_示例(3)
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170929
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D onc...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合...
来源: laya_api 发布时间: 20170929
...new Handler(this, this.updateItem); // 设置数据项为对应图片的路径 var data: Array<String> = []; //解析二进制已获得关卡队列,先取有效位书 let s = json.my_guanqia.substr(0,t...
来源: Laya_社区 发布时间: 20210122
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Implementation of ISelect._url Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Implementation of ISelect.autoSize Inherited from Text.autoSize D...
来源: Laya3.0_api 发布时间: 20231115
... UI组件脚本只能添加在Scene2D节点或2D预制体根节点的属性设置面板上的Runtime入口。如果添加在Scene2D上,它的父类就继承于Laya.Scene;如果添加在2D预制体的根节点,它的父类就继承于UI小部件的类(根据2D预制体根节点的节点类型...
来源: Laya3.0_文档 发布时间: 20251010
..., false)); this.bitmapFont = new BitmapFont(); } onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(10); // 注册位图字体 Laya.Text.registerBitmapFont(fontName, this.bitmapFont); this.createText(fontName); } createText(font) { let txt = new Laya.Text(); Laya.stage....
来源: Laya_社区 发布时间: 20190225
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要...
来源: Laya2.0_api 发布时间: 20190513