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

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

151. 网络通信 · LayaAir3文档 · LAYABOX [ 16%]

...HttpRequest 的upload的一些事件,这里的 super.send 简单的用了父类的方法,开发者可以不用,完全自己另写一套来满足自己的需求。 三、 WebSocket连接 WebSocket是一种基于ws协议的技术,它使得建立双全工连接成为可能。websocket常见于...

来源: Laya3.0_文档 发布时间: 20250104

152. 【简单跑酷--JS版】---Lv.6 终篇 [ 16%]

...关系的子类均会出现super的用法 其实就是执行以下继承的父类的构造函数 callback • 2016-08-31 10:06 嗯 以前用Lufy写过~

来源: Laya_社区 发布时间: 20160803

153. laya.ui.Tree_API3.0 [ 14%]

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

154. laya.d3.core.material.PBRMaterial_API3.0 [ 10%]

...ya/d3/core/material/PBRMaterial" PBRMaterial Class PBRMaterial PBR材质的父类,该类为抽象类。 Hierarchy Material PBRMaterial PBRStandardMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQU...

来源: Laya3.0_api 发布时间: 20231115

155. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 10%]

...  var temp:IA = <IA>item;  items.push(temp); } 5.get,set ts里面父类定义的getset,子类必须要全覆盖下,不能只处理get或set,如: class A {  protected _id:number = 1;    public get id():number { return this._id }  public set id(value:number){     this._id = vaule; ...

来源: Laya_社区 发布时间: 20161109

156. laya.ui.Dialog_API3.0 [ 7%]

...function Dialog_Instance() { Dialog_Instance.__super.call(this);//初始化父类 var bg = new laya.ui.Image("resource/ui/bg.png");//新建一个 Image 类的实例 bg 。 bg.sizeGrid = "10,40,10,5";//设置 bg 的网格信息。 bg.width = 150;//设置 bg 的宽度。 bg.height = 250;//设置 bg ...

来源: Laya3.0_api 发布时间: 20231115

157. laya.ui.List_API3.0 [ 7%]

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