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

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

661. laya.ui.HBox_API3.0 [ 29%]

...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...

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

662. laya.ui.Dialog_API3.0 [ 29%]

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

663. laya.ui.List_API3.0 [ 29%]

...显示列表。 }; 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

664. laya.d3.core.MeshSprite3D [ 29%]

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

665. laya.d3.core.scene.Scene3D_API3.0 [ 29%]

...ntDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 hitTestPoint hitTestPoint(x: number, y: number): boole...

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

666. laya.ui.Tree_API3.0 [ 29%]

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

667. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 29%]

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

668. laya.d3.shader.Shader3D_API3.0 [ 29%]

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

669. laya.d3.core.pixelLine.PixelLineSprite3D [ 28%]

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

670. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 28%]

...序文档,熟悉小游戏的接入流程,完成开发者平台的帐号注册,以及下载好开发者工具。 字节跳动小游戏接入指南: [https://microapp.bytedance.com/docs/zh-CN/mini-game/introduction/plugin-reference/registration/](https://microapp.bytedance.com/docs/zh-CN/mini-...

来源: Laya2.0_文档 发布时间: 20210715