大约有 1,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0121 秒)
Laya_社区(831) Laya3.0_api(384) Laya2.0_api(195) laya_api(183) Laya2.0_文档(39) Laya3.0_文档(18) Laya2.0_示例(2) Laya_示例(2)
...。代码如下: ```JavaScript var xhr = new XMLHttpRequest(); xhr.open("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"); i...
来源: Laya2.0_文档 发布时间: 20210715
...e": TypeError: Cannot read property 'api' of undefined at ChromeConnection.get api [as api] (d:\LayaAirIDE_1.7.0_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeConnection.js:56:28) at ChromeDebugAdapter.get chrome [as chrome] (d:\LayaAirIDE_1.7.0_...
来源: Laya_社区 发布时间: 20170222
...undBox Accessors max min Methods calculateBoundsintersection clone cloneTo getCenter getExtent getMax getMin setCenter setExtent setMax setMin Constructors constructor new BoundsImpl(min?: Vector3, max?: Vector3): BoundsImpl Defined in laya/d3/math/BoundsImpl.ts:138 创建一个 BoundsImp 实例。 ...
来源: Laya3.0_api 发布时间: 20231115
...内容相关的链接 提交 1 个回复 guozhaokui 赞同来自: post和get走的相同的流程,都是向某个地址发送一个http请求(post会带post的数据),然后会收到对方返回的结果,所以会有Download的打印。所以log是没问题的,问题是为什么会卡住...
来源: Laya_社区 发布时间: 20180315
...一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点...
来源: Laya2.0_api 发布时间: 20190513
...ol-Allow-Headers X-Requested-With; add_header Access-Control-Allow-Methods GET,POST,OPTIONS; ...... } ``` 这样就可以实现GET,POST,OPTIONS的跨域请求的支持 也可以 `add_header Access-Control-Allow-Origin http://www.layabox.com;` -- 指定允许的url; 3、如果是数据请求跨...
来源: Laya2.0_文档 发布时间: 20210715
...e": TypeError: Cannot read property 'api' of undefined at ChromeConnection.get api [as api] (c:\Users\dell\Downloads\LayaAirIDE_1.7.2_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeConnection.js:56:28) at ChromeDebugAdapter.get chrome [as chrome] ...
来源: Laya_社区 发布时间: 20170428
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的...
来源: Laya2.0_api 发布时间: 20190513
...rainSprite3D _addToInitStaticBatchManager():void[override] MeshSprite3D _getSortID(renderElement:IRenderable, material:BaseMaterial):int 排序函数。 Sprite3D _setBelongScene(scene:Scene):void[override] RenderableSprite3D _setUnBelongScene():void[override] RenderableSprite3D _update(state:Re...
来源: laya_api 发布时间: 20170929
...。代码如下: ```javascript var xhr = new XMLHttpRequest(); xhr.open("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"); i...
来源: Laya2.0_文档 发布时间: 20210714