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

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

921. laya.ui.ProgressBar [ 46%]

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

922. laya.ui.Image [ 46%]

...Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个...

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

923. Laya.Browser获取宽高数值会变化,iphone6第一次加载正确,刷新几次就变大了。 [ 46%]

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

924. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 46%]

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

925. 编译太慢了,我想到一种优化编译时间的方式,请官方给出评价 [ 46%]

...我们的定义库里只需要添加这样一个类即可:class Laya { public static function init(width:Number, height:Number, ... plugins):* { return null } } 这有点类似使用laya 原生js开发中的.d.ts文件,只是我们应该让这个laya类定义库尽量的小,满足编译的要...

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

926. 版本管理 后缀可以自定吗? [ 45%]

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

927. laya.d3.core.Camera_API3.0 [ 45%]

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

928. laya.components.AnimationClip2D_API3.0 [ 45%]

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

929. 两个问题都关于LayaAir的ios真机 [ 45%]

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

930. 微信小游戏常见问题汇总(10.25更新)(TypeScript-小游戏适配文档-微信小游戏) [ 45%]

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