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

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

81. 在使用资源版本控制时,URL.formatURL中有个bug [ 81%]

...控制时,URL.formatURL中有个bug public static function formatURL(url:String, base:String = null):String { if (!url) return "null path"; //如果是全路径,直接返回,提高性能 if (url.indexOf(":") > 0) return url; //自定义路径格式化 if (customFormat != null) url = customFor...

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

82. 怎么获取Tiledmap设置的tiles自定义属性值 [ 80%]

...turn          */         public function getMapProperties(name:String):* {             if (_properties) {                 return _properties[name];             }             return null;         }                  /**        ...

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

83. laya.ui.Dialog [ 80%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...

来源: laya_api 发布时间: 20170929

84. laya.ui.TextArea [ 80%]

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

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

85. laya.ui.MoreGame [ 80%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 View cacheAs : String 指定显示对象是否...

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

86. laya.ui.TextArea [ 80%]

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

来源: laya_api 发布时间: 20170929

87. JSON文件加载成功后,怎么解析成Object对象 [ 80%]

...ame": "Chen"}'); traceMsg(test['id']); traceMsg(test['name']); var jsonURL:String = "res/json/config.json"; traceMsg("加载: " + jsonURL); Laya.loader.load(jsonURL, Handler.create(this, readJsonFinish, [jsonURL]), null, Loader.JSON); } private function readJsonFinish(url:String = null):void { trace...

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

88. laya.d3.resource.RenderTexture_API3.0 [ 80%]

...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited f...

来源: Laya3.0_api 发布时间: 20231102

89. laya.ani.swf.MovieClip [ 80%]

...获取。设置为true,对性能有一定影响。 Sprite  basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会...

来源: laya_api 发布时间: 20170929

90. laya.resource.RenderTexture_API3.0 [ 80%]

...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited...

来源: Laya3.0_api 发布时间: 20231115