大约有 562 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
Laya_社区(158) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(22) Laya3.0_文档(22) Laya2.0_示例(3) Laya_示例(3)
...archy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不...
来源: Laya2.0_api 发布时间: 20190513
...0 2 分享 微博 QZONE 微信 yzhkof 赞同来自: public getSpineAni(url:string,completeCaller:any,completeFun:Function):void { this.m_spineCopmleteFun = completeFun; this.m_completeCaller = completeCaller; this.m_curLoadingUrl = ur...
来源: Laya_社区 发布时间: 20170801
...c Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不...
来源: laya_api 发布时间: 20170929
...次问的loadanimation的问题,后面的参数怎么写?里面的 atlas:string,写成"res/atlas/ani_img/explore/a.json"不行. loadAnimation(url:String, loaded:Handler = null, atlas:String = null):Animation 2017-11-06 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20171103
...lic class MsgMgr { /**共享画布类型**/ public static var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听**/ public function init...
来源: Laya_社区 发布时间: 20180525
...rivate static _dic: Laya.Dictionary; public static PROTO_HEAD: string = "proto_Head"; public static PROTO_BINARY_REQUEST: string = "proto_BinaryRequest"; public static PROTO_PARAMS: string = "proto_ParamsProto"; public static PROTO_DOUBLE_VLAUE: string...
来源: Laya_社区 发布时间: 20170807
...cs drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1):void 绘制一条线。 Graphics drawLines(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列线段。 Graphics drawPath(x:Number, y:Number, paths:Array, ...
来源: laya_api 发布时间: 20170929
... */ private function playDragonBonesAnimation(url:String,dragronX:Number,dragronY:Number,parent:Sprite,isLoop:Boolean):void{ var tem:Templet = new Templet(); var longgu:Skeleton; tem.loadAni(url); ...
来源: Laya_社区 发布时间: 20170406
...ture getPixels():Uint8Array 返回图片像素。 Texture2D load(url:String, complete:Handler):void[static] 加载Texture2D。 Texture2D loadImageSource(source:*, premultiplyAlpha:Boolean = false):void 通过图片源填充纹理,可为HTMLImageElement、HTMLCanvasElement、HTMLVideoElement...
来源: Laya2.0_api 发布时间: 20190513
... * 设置皮肤资源。 */ protected setSource(url: string, img: any = null): void { if (url === this._skin && img) { this.source = img this.onCompResize(); } } ...
来源: Laya_社区 发布时间: 20191024