大约有 818 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0078 秒)
Laya_社区(400) Laya3.0_api(156) laya_api(107) Laya2.0_api(97) Laya2.0_文档(29) Laya3.0_文档(26) Laya2.0_示例(2) Laya_示例(1)
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231115
....class(Dialog_Instance,"mypackage.dialogExample.Dialog_Instance",_super);//注册类Dialog_Instance。 })(laya.ui.Dialog); function loadComplete() { console.log("资源加载完成!"); dialog = new mypackage.dialogExample.Dialog_Instance();//创建一个 Dialog_Instance 类的实例对象 dialog...
来源: Laya3.0_api 发布时间: 20231115
...显示列表。 }; Laya.class(Item,"mypackage.listExample.Item",_super);//注册类 Item 。 })(laya.ui.Box); Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 var res = ["resource/ui/vscroll.png", "resource/ui/vscroll$ba...
来源: Laya3.0_api 发布时间: 20231115
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实...
来源: laya_api 发布时间: 20170929
...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...
来源: Laya3.0_api 发布时间: 20231115
...addChild(arrow); }; Laya.class(Item,"mypackage.treeExample.Item",_super);//注册类 Item 。 })(laya.ui.Box); example import Tree = laya.ui.Tree; import Browser = laya.utils.Browser; import Handler = laya.utils.Handler; class Tree_Example { constructor() { Laya.init(640, 800); Laya.stage.bgColor = ...
来源: Laya3.0_api 发布时间: 20231115
...r3D.PERIOD_MATERIAL, 'u_AlbedoTexture': Laya.Shader3D.PERIOD_MATERIAL }; //注册多Pass描边Shader var customShader = Laya.Shader3D.add("MultiplePassOutlineShader"); //创建一个subShader var subShader = new Laya.SubShader(attributeMap, uniformMap); customShader.addSubShader(subShader); //添加...
来源: Laya2.0_文档 发布时间: 20210714
...Name(name: string): ShaderDefine Defined in laya/d3/shader/Shader3D.ts:126 注册宏定义。 Parameters name: string Returns ShaderDefine Static propertyNameToID propertyNameToID(name: string): number Defined in laya/d3/shader/Shader3D.ts:151 通过Shader属性名称获得唯一ID。 Parameters nam...
来源: Laya3.0_api 发布时间: 20231102
...pe:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher instantiate(original:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实...
来源: Laya2.0_api 发布时间: 20190513
...序文档,熟悉小游戏的接入流程,完成开发者平台的帐号注册,以及下载好开发者工具。 字节跳动小游戏接入指南: [https://microapp.bytedance.com/docs/zh-CN/mini-game/introduction/plugin-reference/registration/](https://microapp.bytedance.com/docs/zh-CN/mini-...
来源: Laya2.0_文档 发布时间: 20210715