大约有 2,831 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1671) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(82) Laya2.0_示例(16) Laya_示例(11)
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.HScrollBar)。 HScrollBar 组件的图像资源示例:  (图1)  (图2)  (图...
来源: Laya2.0_文档 发布时间: 20210714
...dler; Laya.loader.load([{ url: ['res/bitmapFont/test.fnt'], type: Laya.Loader.FONT }], Handler.create(this, () => { console.log('bitmapFont loaded'); this.onFontLoaded(); }), Handler.create(this, (progress) => {...
来源: Laya_社区 发布时间: 20190221
TypeScript在LayaAir 1.X和2.X中对待module和namespace的异同,求2.x使用自定义namespace的方法(module已经找到方法) 我发现1.x版本把每个ts编译成为一个js。并且namespace和module暴露在全局空间里,不用import就可以namespace.XXX和module.xxx引用。 ...
来源: Laya_社区 发布时间: 20181026
...itFlag __init__ changeVertexDefine shaderValueInit Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 VScrollBar 组件的图像资源示例:  (图1)  (图2)  (图...
来源: Laya2.0_文档 发布时间: 20210715
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ComboBox)。 ComboBox 组件的图像资源示例:  (图1) 设置 ComboBox 的属性 labels 的值为 “label1,label2” 后,显示效果如...
来源: Laya2.0_文档 发布时间: 20210714
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tab) ## 2、通过LayaAirIDE创建Tab组件 ### 2.1 创建Tab 点击选择`资源管理器`里的 Tab 组件资源,拖拽到场景编辑器,即在页面中成功的创建了一个 Tab...
来源: Laya2.0_文档 发布时间: 20210714
...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tab) ## 2、通过LayaAirIDE创建Tab组件 ### 2.1 创建Tab 点击选择`资源管理器`里的 Tab 组件资源,拖拽到场景编辑器,即在页面中成功的创建了一个 Tab...
来源: Laya2.0_文档 发布时间: 20210715
...ow.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); 怎么运行上边这段代码呢?打开谷歌浏览器...
来源: Laya3.0_文档 发布时间: 20251010
...游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2024-03-14 10:...
来源: Laya_社区 发布时间: 20240221