大约有 224 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya3.0_api(69) Laya3.0_文档(49) Laya2.0_api(43) laya_api(33) Laya_社区(25) Laya2.0_文档(3) Laya2.0_示例(1) Laya_示例(1)
...get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除...
来源: Laya3.0_文档 发布时间: 20230303
...系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node scene : Scene[read-only] 获得所属...
来源: laya_api 发布时间: 20170929
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new PointLight(): PointLight Overrides LightSprite.constructor Defined in laya/d3/core/light/PointLight.ts:24 创建一个 PointLight 实例。 Returns PointLight Properties Optional _extra _extr...
来源: Laya3.0_api 发布时间: 20231115
...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, atlas:Boolean = false, atlasPath:String = null):void 加载资源。 MovieClip loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null):Sprite 加载并...
来源: laya_api 发布时间: 20170929
...Matrix runCallLater setChildIndex timerLoop timerOnce __init__ instantiate load Constructors constructor new BaseCamera(nearPlane?: number, farPlane?: number): BaseCamera Overrides Sprite3D.constructor Defined in laya/d3/core/BaseCamera.ts:307 创建一个 BaseCamera 实例。 Parameters Default val...
来源: Laya3.0_api 发布时间: 20231115
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SpotLight(): SpotLight Overrides LightSprite.constructor Defined in laya/d3/core/light/SpotLight.ts:34 创建一个 SpotLight 实例。 Returns SpotLight Properties Optional _extra _extra: IN...
来源: Laya3.0_api 发布时间: 20231115
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new RenderableSprite3D(name: string): RenderableSprite3D Overrides Sprite3D.constructor Defined in laya/d3/core/RenderableSprite3D.ts:225 deprecated 创建一个 RenderableSprite3D 实例。 Para...
来源: Laya3.0_api 发布时间: 20231115
... var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","../atlas/comp.json"); xmlreq.send() }, false); 这个例子是在worker中进行加载文件,加载完毕传给主进...
来源: Laya3.0_文档 发布时间: 20251010
...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, atlas:Boolean = false, atlasPath:String = null):void 加载资源。 MovieClip loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属...
来源: Laya2.0_api 发布时间: 20190513
...rite3D lightType : int[read-only] 获取灯光的类型。 LightSprite loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node scene : Scene[read-only] 获得所属...
来源: laya_api 发布时间: 20170929