大约有 85 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0083 秒)
...ded:Handler = null, cacheName:String):Animation 根据指定的动画模版初始化当前动画序列帧。选择动画模版的过程如下:1.Animation loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0...
来源: Laya2.0_api 发布时间: 20190513
...在此对象内。 Sprite init(templet:Templet, aniMode:int = 0):void 初始化动画 Skeleton isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(path:String, complete:Handler = null, aniMode:int = 0):void 通过加载直接创建动画 Ske...
来源: Laya2.0_api 发布时间: 20190513
... Sprite init(layerData:*, map:TiledMap):void 解析LAYER数据,以及初始化一些数据 MapLayer isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于...
来源: Laya2.0_api 发布时间: 20190513
...): void Inherited from UIGroup.initItems Defined in laya/ui/UIGroup.ts:168 初始化项对象们。 Returns void isAncestorOf isAncestorOf(node: Node): boolean Inherited from Node.isAncestorOf Defined in laya/display/Node.ts:446 检查本节点是否是某个节点的上层节点 Parameters node: No...
来源: Laya3.0_api 发布时间: 20231115
...tomRender函数渲染。 Sprite designHeight : Number = 0设计高度(初始化时设置的高度Laya.init(width,height))Stage designWidth : Number = 0设计宽度(初始化时设置的宽度Laya.init(width,height))Stage destroyed : Boolean = false[只读]是否已经销毁。对象...
来源: Laya2.0_api 发布时间: 20190513
... Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation....
来源: Laya3.0_api 发布时间: 20231115
...} } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); var label = new laya.ui.Label();//创建一个 Label 类的实例对象 label 。 label.text = "100000";//设置 label 的文本内容。 label.name = "label";...
来源: Laya3.0_api 发布时间: 20231115
...表。 } (function (_super) { function Item() { Item.__super.call(this);//初始化父类。 this.right = 0; this.left = 0; var selectBox = new laya.ui.Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设置 selectBox 的name 为“selectBox”时,将被识别为树结...
来源: Laya3.0_api 发布时间: 20231115
...对象内。 initItems initItems(): void Defined in laya/ui/UIGroup.ts:168 初始化项对象们。 Returns void isAncestorOf isAncestorOf(node: Node): boolean Inherited from Node.isAncestorOf Defined in laya/display/Node.ts:446 检查本节点是否是某个节点的上层节点 Parameters node: No...
来源: Laya3.0_api 发布时间: 20231115
...): void Inherited from UIGroup.initItems Defined in laya/ui/UIGroup.ts:168 初始化项对象们。 Returns void isAncestorOf isAncestorOf(node: Node): boolean Inherited from Node.isAncestorOf Defined in laya/display/Node.ts:446 检查本节点是否是某个节点的上层节点 Parameters node: No...
来源: Laya3.0_api 发布时间: 20231115