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

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

71. laya.display.Animation [ 54%]

...ded:Handler = null, cacheName:String):Animation 根据指定的动画模版始化当前动画序列帧。选择动画模版的过程如下:1.Animation loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0...

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

72. laya.ani.bone.Skeleton [ 53%]

...在此对象内。 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

73. laya.map.MapLayer [ 51%]

... Sprite  init(layerData:*, map:TiledMap):void 解析LAYER数据,以及始化一些数据 MapLayer isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于...

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

74. laya.ui.RadioGroup_API3.0 [ 48%]

...): 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

75. laya.display.Stage [ 47%]

...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

76. laya.display.Animation_API3.0 [ 46%]

... 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

77. laya.ui.List_API3.0 [ 46%]

...} } 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

78. laya.ui.Tree_API3.0 [ 41%]

...表。 } (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

79. laya.ui.UIGroup_API3.0 [ 41%]

...对象内。 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

80. laya.ui.Tab_API3.0 [ 40%]

...): 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