大约有 1,625 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0050 秒)
Laya_社区(663) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya_示例(58) Laya3.0_文档(54) Laya2.0_示例(54)
...回收到对象池 DrawRectCmdPublic Constants ConstantDefined By ID : String = DrawRect[static] DrawRectCmdProperty DetailfillColorpropertypublic var fillColor:* 填充颜色,或者填充绘图的渐变对象。 heightproperty public var height:Number 矩形高度。 lineColorproperty publi...
来源: Laya2.0_api 发布时间: 20190513
...erties () method public function getTileProperties(index:int, id:int, name:String):* 得到tile自定义属性 Parameters index:int — 地图块索引 id:int — 具体的TileSetID name:String — 属性名称 这个api怎么用?tileSetId是什么 2018-01-29 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180129
...= parseInt(durationInput.text); }); } private createInputWidthLabel(label: string, prompt: string, x: number, y: number): Input { var text: Text = new Text(); text.text = label; text.color = "white"; Laya.stage.addChild(text); text.pos(x, y); var input: Input = new Input(); input.size(50, 20); input...
来源: Laya2.0_示例 发布时间: 20241126
...= parseInt(durationInput.text); }); } private createInputWidthLabel(label: string, prompt: string, x: number, y: number): Input { var text: Text = new Text(); text.text = label; text.color = "white"; Laya.stage.addChild(text); text.pos(x, y); var input: Input = new Input(); input.size(50, 20); input...
来源: Laya_示例 发布时间: 20241126
...修改或拓展 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 "ascii"; } 2018-02-05 0 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20180205
...须是Laya.Sprite的子类) */ export interface IBindSource{ boneName:string; offestX:number; offestY:number; } 3.一个具体的可绑定内容实现 /** * 可绑定到骨骼槽的内容 */ export default class BindSource extends Laya.Sprite implements IBindSource { public boneName:s...
来源: Laya_社区 发布时间: 20190805
... parseLegacy Methods Static collectLinks collectLinks(data: any, basePath: string): ILoadURL[] Defined in laya/d3/loaders/MaterialParser.ts:145 Parameters data: any basePath: string Returns ILoadURL[] Static parse parse(data: any): Material Defined in laya/d3/loaders/MaterialParser.ts:17 Parameters ...
来源: Laya3.0_api 发布时间: 20231115
...e: boolean Defined in laya/html/HtmlParseOptions.ts:6 linkColor linkColor: string Defined in laya/html/HtmlParseOptions.ts:5 linkUnderline linkUnderline: boolean Defined in laya/html/HtmlParseOptions.ts:4 Static defaultLinkColor defaultLinkColor: string = null Defined in laya/html/HtmlParseOptions.t...
来源: Laya3.0_api 发布时间: 20231115
...:Image protected var _proMask:Sprite; public function HProgressSlider(skin:String=null) { super(skin); } override protected function initialize():void{ super.initialize(); _proMask = new Sprite(); _proMask.graphics.drawRect(0, 0, _progress.width, _progress.height); _proMask.scaleX = 0; _progress.mas...
来源: Laya_社区 发布时间: 20170327
...fined in laya/utils/NativeWordText.ts:13 Returns void setText setText(txt: string): void Defined in laya/utils/NativeWordText.ts:7 Parameters txt: string Returns void Globals "laya/utils/NativeWordText" NativeWordText constructor _nativeObj splitRender cleanCache setText Legend Class Class with type...
来源: Laya3.0_api 发布时间: 20231102