大约有 1,062 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
...s No Frames ProgressBarProperties | Methods | Events Packagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Propertie...
来源: Laya2.0_api 发布时间: 20190513
...Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个...
来源: Laya2.0_api 发布时间: 20190513
...6第一次加载正确,刷新几次就变大了。 class GameMain{ public static pxTimes: number = Laya.Browser.height / Laya.Browser.clientHeight; constructor() { console.log('ch=' + Laya.Browser.clientHeight + ', h=' + Laya.Browser.height + ', pxTimes=' + GameMain.p...
来源: Laya_社区 发布时间: 20170403
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/PBRSpecularMaterial" PBRSpecularMaterial Class PBRSpecularMaterial PBRSpecularMaterial 类用于实现PBR(Specular)材质。 Hi...
来源: Laya3.0_api 发布时间: 20231102
...我们的定义库里只需要添加这样一个类即可:class Laya { public static function init(width:Number, height:Number, ... plugins):* { return null } } 这有点类似使用laya 原生js开发中的.d.ts文件,只是我们应该让这个laya类定义库尽量的小,满足编译的要...
来源: Laya_社区 发布时间: 20170321
... * @param originURL 源路径。 * @return 格式化后的新路径。 */ public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return...
来源: Laya_社区 发布时间: 20181127
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Camera" Camera Class Camera Camera 类用于创建摄像机。 Hierarchy BaseCamera Camera WebXRCamera Index Constructors constructor Pr...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimationClip2D" AnimationClip2D Class AnimationClip2D Hierarchy Resource AnimationClip2D Index Constructors constructor Properties _...
来源: Laya3.0_api 发布时间: 20231115
...ndler.run(); return; } !_selected && (state = stateMap[e.type]); } public static function addDark(target:laya.display.Sprite, isDark:Boolean = true):void { if (isDark) { // laya.ui.UIUtils.addFilter(target, DARK); target.filters=[ new ColorFilter([0.7, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 0.7,...
来源: Laya_社区 发布时间: 20160802
...cript //该方法示例仅做参考,视项目情况自行修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "...
来源: Laya2.0_文档 发布时间: 20210715