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

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

901. laya 1.0 源码中 RunDriver.as里measureText的问题 [ 68%]

...ar fontMap:Array = ; public static var measureText:Function = function(txt:String, font:String):* { var isChinese:Boolean = hanzi.test(txt); if (isChinese && fontMap[font]) { return fontMap[font]; } var ctx:* = Browser.context; ctx.font = font; var r:* = ctx.measureText(txt); if (isChinese) ...

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

902. 麻烦帮我看下为什么不能导出Unity的资源 [ 68%]

...n't have a float or range property '_Cutoff' UnityEngine.Material:GetFloat(String) LayaExport.DataManager:saveLayaLmatData(Material, String) 附件 : --> Table.rar 2017-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

903. LAYAAIR加载SWF无线循环 [ 68%]

LAYAAIR加载SWF无线循环    private const SheepSWFPath:String = "res/swf/sheep3.swf";   Laya.init(1136, 640);         //  Laya.stage.alignV = Stage.ALIGN_MIDDLE;         //  Laya.stage.alignH = Stage.ALIGN_CENTER;             Laya.stage.screenMode = Stage.SC...

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

904. laya.layagl.QuickTestTool_API3.0 [ 68%]

...ckTestTool.ts:136 Returns void Static getMCDName getMCDName(type: number): string Defined in laya/layagl/QuickTestTool.ts:18 Parameters type: number Returns string Static showCountInfo showCountInfo(): void Defined in laya/layagl/QuickTestTool.ts:126 Returns void Static showRenderTypeInfo showRender...

来源: Laya3.0_api 发布时间: 20231115

905. 1.01unity转换工具,dds贴图转不了 [ 68%]

...b/System.Reflection/MethodBase.cs:115) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:249) UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:242) 2017-05-14 添...

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

906. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 68%]

...e:Number):Boolean 发射一个粒子。 ShurikenParticleSystem event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):B...

来源: laya_api 发布时间: 20170929

907. [LayaAir3]laya ts怎么获取JSBridge方法里面 返回的byte[]数据 [ 68%]

...ya ts怎么获取JSBridge 方法里面的byte或者Bitmap等数据  已经string int 都是可以返回的 ,但是byte能获取到么 比如 public static byte getBytes() { byte dd2 = new byte{12, 3, 0}; return dd2; } public static Bitmap getBitmap() { } 可以在laya ts代码中获取到么 var ...

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

908. dialog的popup方法不会关闭其他弹窗 [ 68%]

... this.showDialog("注册功能暂未开放") });  }  showDialog(context: string) { // if (this.normalDialog) { // this.normalDialog.close(); // } this.normalDialog = new NormalDialog(context); this.normalDialog.popup(true, true); Laya.stage.addChild(this.normalDialog);  }  }     // 弹窗代...

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

909. laya.maths.Point [ 68%]

...umber, y:Number):Point 将 Point 的成员设置为指定值。 Point  toString():String返回包含 x 和 y 坐标的值的字符串。PointPublic Constants ConstantDefined By  TEMP : Point[static] 临时使用的公用对象。PointProperty Detailxpropertypublic var x:Number该点的水平坐...

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

910. laya.d3.component.staticmesh.StaticBatchMeshRenderElement_API3.0 [ 68%]

...convertSubShader _convertSubShader(customShader: Shader3D, replacementTag: string, subshaderIndex?: number): void Inherited from RenderElement._convertSubShader Defined in laya/d3/core/render/RenderElement.ts:175 Parameters customShader: Shader3D replacementTag: string Default value subshaderIndex: ...

来源: Laya3.0_api 发布时间: 20231102