大约有 1,648 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0099 秒)
Laya_社区(674) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(66) Laya_示例(58) Laya2.0_示例(54)
.../设置 dialog 的关闭函数处理器。 } private function onClose(name:String):void { if (name == Dialog.CLOSE) { trace("通过点击 name 为" + name +"的组件,关闭了dialog。"); } } } } import laya.ui.Button; import laya.ui.Dialog; import laya.ui.Image; class Dialog_Instance extends Dia...
来源: Laya3.0_api 发布时间: 20231115
...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...
来源: laya_api 发布时间: 20170929
...法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent ...
来源: Laya2.0_api 发布时间: 20190513
...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...
来源: Laya3.0_api 发布时间: 20231115
Animation用法疑问 1. createFrames(url:*, name:String):Array [static] 创建动画模板,相同地址的动画可共享播放模板,而不必每次都创建一份新的,从而节省创建Graphics集合的开销创建完播放模板怎么用?API并没有说明如何使用。 2. loadAtlas(...
来源: Laya_社区 发布时间: 20170314
...:number=450; static height:number=1000; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="middle"; static alignH:string="left"; 如图:1000是我的设计高度,而stage.height始终等于这个高度,...
来源: Laya_社区 发布时间: 20200718
...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...控制物理更新时机,自己调用Physics.update Physics event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getBodyCount():int获得刚体总数量Physics getContactCount():int获得碰撞总数量Physics getJointCount():int获得关节总数量Physics hasListe...
来源: Laya2.0_api 发布时间: 20190513