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

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

81. laya.display.AnimationPlayerBase [ 67%]

...,方便对象复用。 AnimationPlayerBase clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void ...

来源: laya_api 发布时间: 20170929

82. laya.display.AnimationBase [ 67%]

...是在完成当前帧画面更新之后。 AnimationBase callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  clear():AnimationBase 停止动画播放,并清理对象属性。之后可...

来源: Laya2.0_api 发布时间: 20190513

83. 向官方反映1.75引擎库后 事件执行 发生的bug [ 67%]

...  *执行事件处理。         */         __proto.runEvent=function(){             var len=this._eventList.length;             if (!len)return;             var _this=this;             var i=0;             var localevnetList = this._eventLis...

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

84. 深入理解LayaAir引擎架构和实现原理(三)引擎渲染主循环与AOP介入控制 [ 67%]

...ationFrame || win.oRequestAnimationFrame || win.msRequestAnimationFrame || function (fun: any): any { return win.setTimeout(fun, 1000 / 60); } initRender()为画布初始化函数,创建和保存了WebGL上下文环境。如需更改canvas的参数,如设置是否抗锯齿,请在初始化引...

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

85. as编译js的一个问题 [ 67%]

...     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640);                          /**测试 */             var o:Object = new Object()...

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

86. 仿照laya官方demo做了一个视频播放的UI,为啥在微信里不能用? [ 67%]

....canvas.style.zIndex + 2; Laya.Browser.document.body.appendChild(tipElmt); function fitDOM() { Laya.Utils.fitDOMElementInArea(videoElmt, reference, 0, 0, reference.width, reference.height); Laya.Utils.fitDOMElementInArea(tipElmt, reference, 0, 0, Laya.stage.width, Laya.stage.height); } fitDOM(); // ...

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

87. 百度小游戏 内存不断增大的情况 [ 67%]

百度小游戏 内存不断增大的情况 __proto.onConfigLoaded=function(){ Laya.init(600,400); Laya.loader.load([{url:"res/atlas/comp.json",type:"atlas"}],Handler.create(this,this.onLoadUi)); } __proto.onLoadUi=function(){ Laya.timer.loop(100,this,this.onLoaded); } __proto.onLoaded=function(){ ...

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

88. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 66%]

...837 Uncaught TypeError: Cannot read property 'props' of undefined     at Function.Laya3D._getSprite3DHierarchyInnerUrls (libs/laya.d3.js:1837)     at Loader.Laya3D._onHierarchylhLoaded (libs/laya.d3.js:1933)     at EventHandler.__proto.runWith (libs/laya.core.js:1628)     at Loader.__proto.e...

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

89. laya.media.VideoTexture_API3.0 [ 66%]

...aya/media/VideoTexture.ts:109 Returns void off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

90. flag的问题 [ 66%]

...解这个判断的具体含义。 下面贴上实例中的完整代码: (function() {     var Sprite = Laya.Sprite;     var Text     = Laya.Text;     var WebGL   = Laya.WebGL;     var flag;     (function()     {          Laya.init(1136, 640, WebGL)...

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