大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(71) Laya_示例(58) Laya2.0_示例(54)
...rride] [read-only] 获取是否为单实例组件。 ColliderBase label : String标签ColliderBase owner : Node [只读]获取所属Node节点。 Component radius : Number圆形半径,必须为正数CircleCollider restitution : Number弹性系数,取值范围0-1,值越大,弹性越大...
来源: Laya2.0_api 发布时间: 20190513
...n laya/display/cmd/DrawEllipseCmd.ts:15 圆点Y 轴位置。 Static ID ID: string = "DrawEllipse" Defined in laya/display/cmd/DrawEllipseCmd.ts:7 Methods getBoundPoints getBoundPoints(sp?: { height?: number; width: number }): number[] Defined in laya/display/cmd/DrawEllipseCmd.ts:79 Parameters Optio...
来源: Laya3.0_api 发布时间: 20231115
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513
...x是一个容器 var canvas:Object = htmlCanvas.getCanvas(); var imagePath:String;// = canvas.toTempFilePathSync(); canvas.toTempFilePath({ x: 0, y: 0, width: 1280, height: 720, destWidth: 1280, destHeight: 720, success:function(res:Object):void{ imagePath = res.tempFilePath;//这个就是截屏的...
来源: Laya_社区 发布时间: 20190515
... 294 967 295; 1.1.3 Number:默认NaN;8字节,64位浮点值; 1.2 String:默认null;有由一串字符组成,这里的字符是unicode字符; 1.3 Boolean:默认false;可使用非Boolean值的表达式作为判断条件,会自动使用默认值或者进行类型转换; 2018-0...
来源: Laya_社区 发布时间: 20180409
...游戏画面? var script:* = Browser.createElement("script"); var jurl:String = "Main.js?" + "r" + Math.random(); script.src = jurl; Browser.document.body.appendChild(script); 我采用这种方式不成功! 2018-01-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180127
...ber):Rectangle 将 Rectangle 的属性设置为指定值。 Rectangle toString():String 当前 Rectangle 对象的水平位置 x 和垂直位置 y 以及高度 width 和宽度 height 以逗号连接成的字符串。 Rectangle union(source:Rectangle, out:Rectangle = null):Rectangle 矩形联...
来源: laya_api 发布时间: 20170929
...display/cmd/DrawRectCmd.ts:19 开始绘制的 Y 轴位置。 Static ID ID: string = "DrawRect" Defined in laya/display/cmd/DrawRectCmd.ts:10 Methods getBoundPoints getBoundPoints(sp?: { height?: number; width: number }): number[] Defined in laya/display/cmd/DrawRectCmd.ts:87 Parameters Optional sp: ...
来源: Laya3.0_api 发布时间: 20231115
...的 目前我这边处理方式是 Laya.URL.customFormat = function (url: string) { if (Laya.Browser.onTBMiniGame) { if (url === 'fileconfig.json') { return ( 'https://estee-lauder-test.oss-accelerate.aliyuncs.com/demo/laya3/' + url ) } } return url } 把本地文件拷贝到阿里的cdn 如果是...
来源: Laya_社区 发布时间: 20240705
...回指定对象的完全限定名 */ static getQualifiedClassName(value):string { var type = typeof value; if (!value || (type != "object" && !value.prototype)) { return type; } var prototype = value.prototype ? value.prototype : Object.getPrototypeOf(value); if (prototype.hasOwnProperty("__...
来源: Laya_社区 发布时间: 20170317