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

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

681. 微信飞机大战报错 [ 63%]

...peError: Cannot read property 'api' of undefined     at ChromeConnection.get api [as api] (d:\Program\LayaAirIDE_1.7.0\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:\Program\...

来源: Laya_社区 发布时间: 20170416

682. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 63%]

...。代码如下: ```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

683. 解决跨域相关! [ 62%]

...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; 2、数据请求跨域需要后端语...

来源: Laya_社区 发布时间: 20151028

684. laya.d3.component.AnimatorControllerLayer_API3.0 [ 62%]

...E Accessors avatarMask defaultState Methods _addReference _clearReference _getReferenceCount _removeReference addState clone cloneTo destroy getAnimatorState getCurrentPlayState removeState Constructors constructor new AnimatorControllerLayer(name: string): AnimatorControllerLayer Defined in laya/d3...

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

685. laya.d3.renderobjs.nativeobj.NativeBounds_API3.0 [ 62%]

...ructors constructor Properties MemoryBlock_size Accessors max min Methods _getBoundBox calculateBoundsintersection clone cloneTo getCenter getExtent getMax getMin setCenter setExtent setMax setMin Constructors constructor new NativeBounds(min?: Vector3, max?: Vector3): NativeBounds Defined in laya/d...

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

686. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 62%]

...bling CheckJNI 05-16 15:59:48.736 7562-7562/com.dihong.testdcc D/dalvikvm: GetMethodID: not returning static method Landroid/os/Process;.getTotalMemory ()J 05-16 15:59:48.736 7562-7562/com.dihong.testdcc D/dalvikvm: GetMethodID: not returning static method Landroid/os/Process;.getFreeMemory ()J 05-1...

来源: Laya_社区 发布时间: 20190516

687. 调试时报错Error processing "evaluate": TypeError: Cannot read property 'api' of undefined [ 62%]

...peError: Cannot read property 'api' of undefined     at ChromeConnection.get api [as api] (d:\LayaAirIDE_1.7.1\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.1...

来源: Laya_社区 发布时间: 20170320

688. Shader预编译(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 61%]

...着色器变种集合属性介绍 1.是否已经全部编译 ```typescript get allCompiled(); ``` 2.包含的变种数量 ```typescript get variantCount(); ``` 3.添加着色器变种 ```typescript add(variant); ``` 4.移除着色器变种 ```typescript remove(variant); ``` 5.是否包含着色器...

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

689. 关于LayaBox启动的问题。 [ 61%]

...iority DESC , time DESC LIMIT 20 D/Analytics.LogStoreMgr.4837.621( 4837): [get] LogStoreMgr,[get]: D/Analytics.UploadMgr$4.4837.621( 4837): [onUploadExcuted],mCurrentUploadInterval:30000 D/Analytics.CommitTask.4837.624( 4837): [run] CommitTask,check&commit event:65503 D/Analytics.CommitTask.4837...

来源: Laya_社区 发布时间: 20170320

690. laya.d3.math.Bounds_API3.0 [ 61%]

...ructor Accessors max min Methods calculateBoundsintersection clone cloneTo getBoundBox getCenter getCorners getExtent getMax getMin setCenter setExtent setMax setMin containPoint merge Constructors constructor new Bounds(min?: Vector3, max?: Vector3): Bounds Defined in laya/d3/math/Bounds.ts:130 创...

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