大约有 3,155 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(2438) Laya2.0_文档(192) Laya3.0_api(178) Laya3.0_文档(123) laya_api(106) Laya2.0_api(103) Laya2.0_示例(8) Laya_示例(7)
...说明, MiniApdter.init的第二个参数设置成true,就是是否把当前环境初始化为开发数据域(适配库里写的是子域,概念是同一个)。 根据微信文档的说明,主域跟开发数据域代码是分离的,也就是说他们代码之间不能互相调用,具...
来源: Laya_社区 发布时间: 20180310
...rTextureDepthFormat.DEPTHSTENCIL_NONE); this.texture = renderTexture; //将当前渲染的结果拷贝到创建好的RenderTexture buf.blitScreenTriangle(null,renderTexture); //获得模糊shader var shader:Shader3D = Shader3D.find("blurEffect"); //设置模糊参数 var shaderValue:ShaderData = new...
来源: Laya3.0_文档 发布时间: 20251010
...:鼠标关节用于通过鼠标来操控物体。它试图将物体拖向当前鼠标光标的位置。而在旋转方面就没有限制。 Hierarchy JointBase MouseJoint Index Constructors constructor Properties _extra _singleton anchor owner runInEditor scriptPath selfBody Accessors awaked dampi...
来源: Laya3.0_api 发布时间: 20231115
... this._text.text = "触控点为1"; //获取当前的触控点,数量为1 var touch = this._scene.input.getTouch(0); //是否为新一次触碰,并未发生移动 if (this.first){ ...
来源: Laya_社区 发布时间: 20190531
...。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number, y:Number):void[override] Particle2D destroy(destroyChild:Boolean = true):void[override] Particle2D destroyChildren():vo...
来源: Laya2.0_api 发布时间: 20190513
...: boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node 节点对象 。 Returns boolean 一个布尔值表示是否包含指定的 Node 节点对象 。 destroy destroy(destroyChild?: boo...
来源: Laya3.0_api 发布时间: 20231115
...: boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node 节点对象 。 Returns boolean 一个布尔值表示是否包含指定的 Node 节点对象 。 customRender customRender(context:...
来源: Laya3.0_api 发布时间: 20231102
...几个步骤,加载资源、创建一个Button实例、将Button添加到当前场景上,最后设置Button组件的属性。具体实现可以参考下面的代码与注释: const { regClass, property } = Laya; @regClass() export class UI_Button extends Laya.Script { private COLUMNS: number =...
来源: Laya3.0_文档 发布时间: 20251010
... this._text.text = "触控点为1"; //获取当前的触控点,数量为1 var touch = this._scene.input.getTouch(0); //是否为新一次触碰,并未发生移动 if (this.first){ ...
来源: Laya_社区 发布时间: 20190605
...)。 Node config(w:int, h:int):voidPerfHUD contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(ctx:Context, x:Number, y:Number):void[override] PerfHUD destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认...
来源: Laya2.0_api 发布时间: 20190513