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

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

1. laya.display.Graphics [ 100%]

...Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics  drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 Graphics  drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineCo...

来源: laya_api 发布时间: 20170929

2. laya.maths.Matrix [ 98%]

...的距离。MatrixPublic Methods  MethodDefined By  Matrix(a:Number = 1, b:Number = 0, c:Number = 0, d:Number = 1, tx:Number = 0, ty:Number = 0) 使用指定参数创建新的 Matrix 对象。 Matrix  clone():Matrix 返回此 Matrix 对象的副本。 Matrix  concat(matrix:Matrix):Matrix 将...

来源: laya_api 发布时间: 20170929

3. laya.ui.AutoBitmap [ 93%]

...边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)]。 例如:[4,4,4,4,1] sizeGrid 的值如下所示: 上边距 右边距 下边距 左边距 是否重复填充(值为0:不重复填充,1:重复填充) 当定义 sizeGrid 属性时,该显示对象...

来源: laya_api 发布时间: 20170929

4. laya.d3.math.Vector4 [ 89%]

... Vector4  cloneTo(destObject:*):void 克隆。 Vector4  distance(value1:Vector4, value2:Vector4):Number[static] 两个四维向量距离。 Vector4  distanceSquared(value1:Vector4, value2:Vector4):Number[static] 两个四维向量距离的平方。 Vector4  dot(a:Vector4, b:Vector4):Number[s...

来源: laya_api 发布时间: 20170929

5. laya.d3.core.particleShuriKen.module.GradientVelocity [ 89%]

...tVelocity  type : int[read-only] 命周期速度类型,0常量模式,1曲线模式,2随机双常量模式,3随机双曲线模式。 GradientVelocityPublic Methods  MethodDefined By  GradientVelocity() 创建一个 GradientVelocity,不允许new,请使用静态创建函数。 实例。 ...

来源: laya_api 发布时间: 20170929

6. laya.d3.math.Vector3 [ 88%]

...3):void[static] 求两个三维向量的叉乘。 Vector3  distance(value1:Vector3, value2:Vector3):Number[static] 两个三维向量距离。 Vector3  distanceSquared(value1:Vector3, value2:Vector3):Number[static] 两个三维向量距离的平方。 Vector3  dot(a:Vector3, b:Vector3):Number[...

来源: laya_api 发布时间: 20170929

7. laya.d3.math.Quaternion [ 87%]

...ined By  Quaternion(x:Number = 0, y:Number = 0, z:Number = 0, w:Number = 1) 创建一个 Quaternion 实例。 Quaternion  add(left:Quaternion, right:Quaternion, out:Quaternion):void[static] 计算两个四元数的和 Quaternion  clone():* 克隆。 Quaternion  cloneTo(destObject:*):void 克...

来源: laya_api 发布时间: 20170929

8. laya.display.Sprite [ 87%]

...Public Properties PropertyDefined By  alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite  autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内...

来源: laya_api 发布时间: 20170929

9. laya.d3.core.particleShuriKen.module.GradientSize [ 86%]

...dientSize  type : int[read-only] 命周期尺寸类型,0曲线模式,1随机双常量模式,2随机双曲线模式。 GradientSizePublic Methods  MethodDefined By  GradientSize() 创建一个 GradientSize,不允许new,请使用静态创建函数。 实例。 GradientSize  clone():* ...

来源: laya_api 发布时间: 20170929

10. laya.map.MapLayer [ 84%]

...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容...

来源: laya_api 发布时间: 20170929