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

大约有 24 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)

1. bind函数的作用 [ 100%]

...otoLoaded.bind(this)); a15715740412 • 2018-01-30 16:31 /** * For a given function, creates a bound function that has the same body as the original function. * The this object of the bound function is associated with the specified object, and has the specified initial parameters. * @param thisArg A...

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

2. Laya 绑定显示内容到骨骼动画 [ 91%]

...阵的方法 //返回变化矩阵     __proto.getResultMatrixByFrame=function(index){         var matrix=this._resultMatrixCache[index];         if(matrix){             return matrix;         }         return this.resultMatrix;     }   2. Bone ...

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

3. timer无法用clear清除的BUG [ 87%]

...p函数用this绑定时,clear无法清除 ,clearAll可以清除 public function startLoop() {       Laya.timer.loop(2000,this,this.onLoop.bind(this)); }   private function onLoop():void {     if(this.stop){         Laya.timer.clear(this,this.onLoop.bind(this));  //     } } ...

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

4. 类未找到方法 [ 83%]

类未找到方法 public class Welcome extends welcomeUI { public function Welcome() { requestData(); } private function requestData():void{ RequestConfig.instance.getRequestConfig(String(0), requestCallback); } private function requestCallback(success:Boolean):void { if(success) { loadingRes(); }...

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

5. 发布原生 ios/android 的渲染问 题 [ 81%]

...更新_cnavas相关的状态     */     __proto._checkCanvasEnable=function(){         var tEnable=this._cacheStyle.needEnableCanvasRender();         this._getCacheStyle().enableCanvasRender=tEnable;         if (tEnable){             if (this._cacheStyle.n...

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

6. 【官网代码】加载dom音频报错,怎么回事? [ 77%]

...rivate var analyser:Object;private var audioBufferSourceNode:Object;public function Main(){Laya.init(500,500);AudioContext =Browser.window.AudioContext || Browser.window.webkitAudioContext;audioContext = new AudioContext();analyser = audioContext.createAnalyser();analyser.fftSize = 256;Laya.stage.on...

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

7. 提示 is not function [ 71%]

提示 is not function 我都有定义 这方法 ···呀 附件 : --> 2017-02-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你应该是执行域改变导致的,默认as3环境下执...

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

8. 求HTTP相关的文档或者例子谢谢了 [ 66%]

求HTTP相关的文档或者例子谢谢了 __proto__.wishComp=function(e){}         __proto__.checkList=function(){             this.publicloader=new URLLoader();             this.publicloader.dataFormat=/*iflash.net.URLLoaderDataFormat.VARIABLES*/"variables";        ...

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

9. Cannot read property 'toDefault' of undefined报错是什么原因 [ 65%]

...如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; this.skyBox = new Laya.SkyBox(); this.ca...

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

10. native 源码安卓编译错误,JCFileResManager 中的JCFileRes 没有setOnReadyCB,setOnErrorCB 方法,是不是没上传? [ 65%]

.../../source/conch/JSWrapper/LayaWrap/JSAudio.cpp:199:94: error: no matching function for call to 'laya::JCFileRes::setOnReadyCB(std::__1::__bind<bool (laya::JSAudio::*)(void*, std::__1::weak_ptr<int>), laya::JSAudio*, std::__1::placeholders::__ph<1>&, std::__1::weak_ptr<int>&...

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