大约有 1,651 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0051 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(67) Laya_示例(58) Laya2.0_示例(54)
...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
...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
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
...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
...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
...e:Number):Boolean 发射一个粒子。 ShurikenParticleSystem event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):B...
来源: laya_api 发布时间: 20170929
...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
... 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
...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
...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