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

大约有 555 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0070 秒)

321. laya.device.media.Video [ 69%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  buffered : *[read-only] buffered 属性返回 TimeRanges(JS)对象。TimeRanges 对象表示用户的音视频缓冲范围。缓冲范围指的是已...

来源: laya_api 发布时间: 20170929

322. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 69%]

...没留下…… **/ interface ITextFormat { /** * 背景色 */ bgColor?: string; /** * 是否加粗 */ bold?: number; /** * 文本框背景色 */ borderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 是否为斜体 ...

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

323. laya.ui.Dialog_API3.0 [ 69%]

.../设置 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

324. laya.d3.core.material.PBRMaterial [ 68%]

...PBRMaterial  disableLight():void 禁用灯光。 PBRMaterial  load(url:String):PBRMaterial[static] 加载标准材质。 PBRMaterial  onAsynLoaded(url:String, data:*, params:Array):void[override] PBRMaterial  radicalInverse_VdC(bits:int):Number vdc算法产生的序列。这个比random要...

来源: laya_api 发布时间: 20170929

325. [LayaAirIDE3]layaAir 3.14 打包淘宝小部件报错 [ 68%]

...的 目前我这边处理方式是 Laya.URL.customFormat = function (url: string) { if (Laya.Browser.onTBMiniGame) { if (url === 'fileconfig.json') { return ( 'https://estee-lauder-test.oss-accelerate.aliyuncs.com/demo/laya3/' + url ) } } return url } 把本地文件拷贝到阿里的cdn 如果是...

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

326. laya.ui.List_API3.0 [ 68%]

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

327. laya.ui.Clip [ 68%]

...itmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象...

来源: laya_api 发布时间: 20170929

328. laya.device.media.Video [ 68%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  buffered : *[read-only] buffered 属性返回 TimeRanges(JS)对象。TimeRanges 对象表示用户的音视频缓冲范围。缓冲范围指的是已...

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

329. laya.ui.Tree_API3.0 [ 68%]

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

330. laya.ui.Clip [ 67%]

...itmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对...

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