• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 562 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)

361. laya.ui.TextArea [ 64%]

...archy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不...

来源: Laya2.0_api 发布时间: 20190513

362. 为何我加载spine的动画drawcall会那么高,shader的指标也很高 [ 64%]

...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

363. laya.ui.TextArea [ 64%]

...c Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不...

来源: laya_api 发布时间: 20170929

364. 资源加载后的 回调 [ 64%]

...次问的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

365. 微信关系链:LayaAir引擎针对开发数据域使用图集支持介绍 [ 64%]

...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

366. Laya.Pool用法 [ 64%]

...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

367. laya.ui.AutoBitmap [ 64%]

...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

368. l龙骨动画内存上升 [ 63%]

...       */         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

369. laya.resource.Texture2D [ 63%]

...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

370. Image设置skin的Bug [ 62%]

... * 设置皮肤资源。      */     protected setSource(urlstring, img: any = null): void {         if (url === this._skin && img) {             this.source = img             this.onCompResize();         }     }    ...

来源: Laya_社区 发布时间: 20191024