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

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

671. laya.filters.GlowFilter [ 78%]

...fo2 : ArrayGlowFilterPublic Methods  MethodDefined By  GlowFilter(color:String, blur:Number = 4, offX:Number = 6, offY:Number = 6) 创建发光滤镜 GlowFilter  getBlurInfo1Native():Float32ArrayGlowFilter  getBlurInfo2Native():Float32ArrayGlowFilter  getColorNative():Float32ArrayGlowFilter...

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

672. UI-Label [ 78%]

...ateLabel("#0080FF", "#00FFFF").pos(290, 150); } private createLabel(color: string, strokeColor: string): Label { const STROKE_WIDTH: number = 4; var label: Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { la...

来源: Laya_示例 发布时间: 20260130

673. [laya unity插件2.3.0beta] 导出预设报错 [ 78%]

...ngine.Matrix4x4:TRS(Vector3, Quaternion, Vector3) p:a(SkinnedMeshRenderer, String, Boolean) p:b() p:b(String) LayaAir3D:exportResource(Boolean, Int32, String) k:b() m:b(a) m:a() UnityEditor.EditorApplication:Internal_CallUpdateFunctions()     附件有 fbx源文件.  附件 : --> role_huanzhuang...

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

674. Unicode与ascii互转对应表 [ 78%]

...应表再补充一个writeMultiByte public function writeMultiByte(value:String,charSet:String):void         {             value = value + "";             if(charSet=="UNICODE" || charSet=="unicode")             {                 return writeUnicode(value...

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

675. 网络和格式-Socket [ 78%]

...rate "; for (let i = 0; i "); // 使用output.writeByte发送 var message: string = "demonstrate "; for (var i: number = 0; i "); // 使用output.writeByte发送 var message:String = "demonstrate "; for (var i:int = 0; i < message.length; ++i) { output.writeByte(message.charCodeAt(i)); } socket.flus...

来源: Laya2.0_示例 发布时间: 20260130

676. bitmapFont.loadFont()加载多个地址导致位图输出重 [ 78%]

...m6.fnt","res/fontadd/num+.fnt"]);     private setDataByTextureList(value:string, urls:string[]){ for(var i=0;i&lt;urls.length;i++){ var bitmapFont: BitmapFont = new BitmapFont(); var url=urls[i]; bitmapFont.loadFont(url, new Handler(this, this.onFontLoaded, [bitmapFont,value])); } private onFontLo...

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

677. laya.ui.UIComponent [ 78%]

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

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

678. 文本-下划线 [ 78%]

...s.createText('right', 3, "#FF7F50", 210, 290); } private createText(align: string, underlineWidth: number, underlineColor: string, x: number, y: number): Text { var txt: Text = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n 面向AS/JS/TS开发者提供...

来源: Laya_示例 发布时间: 20260130

679. KeyNotFoundException: The given key was not present in the dictionary [ 78%]

... present in the dictionary. System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniDa...

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

680. 微信小游戏的50M物理缓存管理(TypeScript-小游戏适配文档-微信小游戏) [ 78%]

...进制编码为空字符串 */ public static function downLoadFile(fileUrl:String, fileType:String = "",callBack:Handler = null,encoding:String = "ascii"):void ``` #### 3、清除缓存文件 由于微信小游戏的缓存上限是50M物理空间,所以无论自动管理缓存还是手动管理缓...

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