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

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

41. drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 [ 93%]

drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 这个方法的参数详解 一直不明白数组里面的点的作用 2016-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

42. 请问Uin8Array数据怎么转成String字符串呢 [ 93%]

请问Uin8Array数据怎么转成String字符串呢 如题所诉   补充: info.name是后台传给我的,是一个Uint8Array类型,我需要转化成一个String字符串,直接用getUTFString(),不行 附件 : --> 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

43. 在Vector的设计中,Float32Array会比直接用变量更快么? [ 93%]

在Vector的设计中,Float32Array会比直接用变量更快么? 我看到Vector234的数学库中,描述矢量都是用的Float32Array,而不是直接写一个xyz。public var elements:* = new Float32Array(2);   这样做能够得到更高的运行效率么,不太懂为什么要这么...

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

44. laya.d3.component.Animator [ 93%]

...override] Animator  _updateAnimationNodeWorldMatix(localPositions:Float32Array, localRotations:Float32Array, localScales:Float32Array, worldMatrixs:Float32Array, parentIndices:Int16Array):void private [NATIVE] Animator  _updateAvatarNodesToSprite():void private Animator  addControllerLayer(con...

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

45. Laya api 中可能的bug [官方来看] [ 92%]

...自己的显示对象进行排序 */ __proto.updateZOrder=function(){ var array = this._showGridList; //遍历所有元素,根据zOrder排序 if (!array || array.length < 2)return false; var i=1,j=0,len=array.length,key=NaN,c; while (i < len){ j=i; c=array[j]; key=array[j]._zOrder; while (--...

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

46. laya.d3.graphics.IndexBuffer3D_API3.0 [ 92%]

...e 是否可读。 Returns IndexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/Buffer.ts:8 _bufferType _bufferType: number Inherited from Buffer._bufferType Defined in laya/RenderEngine/Buffer.ts:10...

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

47. TextRender 类中 的_drawResortedWords方法,若用户扩展了 Array 方法,会报错 [ 92%]

TextRender 类中 的_drawResortedWords方法,若用户扩展了 Array 方法,会报错 TextRender 类中 的_drawResortedWords方法,若用户扩展了 Array 方法,会报错。 具体原因为 针对  samePagesData 的遍历使用的是 for in 遍历, 若使用 正常 for 遍历则没...

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

48. 列表里的元素可以播放动画吗 [ 92%]

...tion StorePage()         {             this.storelist.array = HostData.array //对list进行默认加载赋值             this.storelist.renderHandler=new Handler(this,onRender);//当list刷新时触发 并发送Box,index             this.storelis...

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

49. Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, [ 92%]

Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 我要用个100x100正方形填充一个大的正方形出来,这个参数传了没效果[[0,0],[0,100],[100,0],[100,100]] 2017-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

50. laya.display.Graphics [ 92%]

...aya.display.Sprite.graphicsPublic Properties PropertyDefined By  cmds : ArrayGraphicsPublic Methods  MethodDefined By  Graphics()Graphics  alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y...

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