大约有 9 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
...戏运行效率越高。Canvas模式下表示每大约1秒的图像绘制次数;WebGL模式下表示每大约1秒的渲染提交批次,每次准备数据并通知GPU渲染绘制的过程称为1次DrawCall,在每次DrawCall中除了在通知GPU的渲染上比较耗时之外,切换材质与sha...
来源: laya_api 发布时间: 20170929
...及获取声音的播放状态、总时间、当前播放时间、总循环次数、播放地址等信息的方法。 Public Properties PropertyDefined By completeHandler : Handler 播放完成处理器。 SoundChannel duration : Number[read-only] 获取总时间。 SoundChannel isStopped ...
来源: laya_api 发布时间: 20170929
...子帧动画。 Public Properties PropertyDefined By cycles : int循环次数。TextureSheetAnimation enable : Boolean是否启用TextureSheetAnimation enableUVChannels : intUV通道类型,0为Noting,1为Everything,待补充,暂不支持。TextureSheetAnimation frame : FrameOverTime[rea...
来源: laya_api 发布时间: 20170929
... rotation : Number 取旋转。 TransformUV tiling : Vector2 取平铺次数。 TransformUVPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By TransformUV() 创建一个 TransformUV 实例。 TransformUV clone():* 克隆。 TransformUV cloneTo(de...
来源: laya_api 发布时间: 20170929
...最低优先级插入加载队列),retryNum设定加载失败后重试次数,retryDelay设定加载重试的时间间隔。 See alsolaya.net.LoaderPublic Properties PropertyDefined By maxLoader : int = 5 最大下载线程,默认为5个LoaderManager retryDelay : int = 0 延迟时间...
来源: laya_api 发布时间: 20170929
...s url:String — 声音文件地址。 loops:int (default = 0) — 循环次数,0表示无限循环。 complete:Handler (default = null) — 声音播放完成回调。 startTime:Number (default = 0) — 声音播放起始时间。 ReturnsSoundChannel — SoundChannel对象,通过此对象...
来源: laya_api 发布时间: 20170929
...ult = 0) — 开始时间,单位秒 loops:Number (default = 0) — 循环次数,0表示一直循环 ReturnsSoundChannel — 声道 SoundChannel 对象。 Fri Sep 29 2017, 06:34 PM +08:00
来源: laya_api 发布时间: 20170929
...同样纹理。 Parameters tex:Texture — 纹理。 pos:Array — 绘制次数和坐标。 fillBorderText()method public function fillBorderText(text:*, x:Number, y:Number, font:String, fillColor:String, borderColor:String, lineWidth:Number, textAlign:String):void 在画布上绘制“被填充...
来源: laya_api 发布时间: 20170929
...e:Handler = null):void 播放 Parameters loops:int (default = 1) — 循环次数 complete:Handler (default = null) — 完成回调 stop()method public function stop():void 停止播放 Sat Apr 22 2017, 10:26 AM +08:00
来源: laya_api 发布时间: 20170422