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

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

221. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 59%]

...包括换行。比如["Content-Type", "application/json"]。 */ send(url: string, data?: any, method?: "get" | "post" | "head", responseType?: "text" | "json" | "xml" | "arraybuffer", headers?: string[]): void; 2.1.2 GET请求示例 GET 请求主要通过 URL 传递。在 URL 中,参数跟在 “?...

来源: Laya3.0_文档 发布时间: 20251010

222. 【紧急】laya2.0的loadImage方法为什么不触发complete? [ 59%]

...身。          */         public function loadImage(url:String, complete:Handler = null):Sprite   2.0接口改了,还有你的sprite 没有指定类型。 2018-10-10 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohke...

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

223. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 59%]

...销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResour...

来源: Laya2.0_文档 发布时间: 20210715

224. laya.ui.List_API3.0 [ 58%]

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

225. laya.ui.Tree_API3.0 [ 58%]

...(this, onLoadComplete)); } private function onLoadComplete():void { var xmlString:String;//创建一个xml字符串,用于存储树结构数据。 xmlString = "<root><item label='box1'><abc label='child1'/><abc label='child2'/><abc lab...

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

226. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 58%]

...销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResour...

来源: Laya2.0_文档 发布时间: 20210715

227. laya.d3.core.Camera [ 58%]

...是否为静态。 Sprite3D layer : int 获取蒙版。 Sprite3D name : String节点名称。Node nearPlane : Number 获取近裁面。 BaseCamera  normalizedViewport : Viewport 获取裁剪空间的视口。 Camera numChildren : int[read-only] 子对象数量。 Node orthographic : Boolean ...

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

228. laya.ui.Clip_API3.0 [ 58%]

...ParentPoint updateZOrder fromImage Constructors constructor new Clip(url?: string, clipX?: number, clipY?: number): Clip Overrides UIComponent.constructor Defined in laya/ui/Clip.ts:151 创建一个新的 Clip 示例。 Parameters Default value url: string = null 资源类库名或者地址 Default ...

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

229. laya.ui.Image [ 58%]

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

来源: laya_api 发布时间: 20170929

230. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 58%]

...销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResour...

来源: Laya2.0_文档 发布时间: 20210715