大约有 445 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0051 秒)
...age.timerLoop(speed, this, shakeObject); function shakeObject(args:Array=null, frameNum:uint=1, frameTime:uint=0):void{ var count:int = (num++) % 4; offsetArr[num % 2] = count < 2 ? 0 : offset; this.x = offsetArr[0] + point.x; this.y = offsetArr[1] + p...
来源: Laya_社区 发布时间: 20170823
...ic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined By _atlasID : int = -1Texture bitmap : * 图片或者canvas 。Texture DEF_UV : Array[static] 默认 UV 信息。Texture height : Numb...
来源: laya_api 发布时间: 20170929
... 前行路上 赞同来自: 浏览器快捷方式 目标栏 添加 --args --disable-web-security 2018-05-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 arsenalxj 相关问题 2.0一不小心删了bin目录下的某个场景js...
来源: Laya_社区 发布时间: 20180411
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya3.0_api 发布时间: 20231115
...>>onLoadedHandler1: Handler {once: true, _id: 6, caller: LayaSample, args: undefined} >>bomb: MovieClips {frames: 0, callback: null, _isRemove: false, _group: null, _start: 384…} Texture {offsetX: 0, offsetY: 0, sourceWidth: 232, sourceHeight: 176, _w: 232…} ==================test===...
来源: Laya_社区 发布时间: 20170523
...ex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,[tex,args]); }执行到这段时,报了tex.once不是一个function的错,但是Texture继承自EventDispatcher,有once这个方法的啊。 http://thirdqq.qlogo.cn/g?b=sdk&k=JZWZibBicdrSCiaPLgFPLd7Cw&s=100&t=148...
来源: Laya_社区 发布时间: 20180724
...替换路径中的yourname )open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=/Users/yourname/MyChromeDevUserData/ 注意: Mac下可使用命令行打开chrome,记住先关闭当前chrome窗口。 网上有些文章--user-data-dir参数后面没有添加...
来源: Laya_社区 发布时间: 20181025
... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收...
来源: Laya2.0_api 发布时间: 20190513
...侦听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 EventDispatcher once(type:String, caller:*, listener:Function, args:Arra...
来源: laya_api 发布时间: 20170929
...解决我提出的问题 Charles • 2018-08-20 10:36 链接失效了。 Args • 2018-08-22 17:23 404 了哥
来源: Laya_社区 发布时间: 20180419