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

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

1. laya.utils.ClassUtils [ 100%]

...null, instanceHandler:Handler = null):*[static] 根据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this ...

来源: laya_api 发布时间: 20170929

2. laya.utils.Pool [ 99%]

...存贮、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾回收,从而优化游戏流畅度。 Public Methods  MethodDefined By  clearBySign(sign:String):void[static] 清除对象池的对象。 Pool  getItem(sign:String):*[static] 根据...

来源: laya_api 发布时间: 20170929

3. laya.utils.Color [ 91%]

...blic Methods  MethodDefined By  Color(str:*) 根据指定的属性值,创建一个 Color 类的实例。 Color  create(str:*):Color[static] 根据指定的属性值,创建并返回一个 Color 类的实例。 ColorProperty Detail_drawStylepropertypublic var _drawStyle:*numColorproperty pub...

来源: laya_api 发布时间: 20170422

4. laya.d3.core.particleShuriKen.module.StartFrame [ 90%]

...ritanceStartFrame ObjectImplements laya.d3.core.IClone StartFrame 类用于创建开始帧。 Public Properties PropertyDefined By  constant : Number[read-only] 固定帧。 StartFrame  constantMax : Number[read-only] 最大固定帧。 StartFrame  constantMin : Number[read-only] 最小固定...

来源: laya_api 发布时间: 20170929

5. laya.d3.core.particleShuriKen.module.RotationOverLifetime [ 90%]

...efined By  RotationOverLifetime(angularVelocity:GradientAngularVelocity) 创建一个 RotationOverLifetime,不允许new,请使用静态创建函数。 实例。 RotationOverLifetime  clone():* 克隆。 RotationOverLifetime  cloneTo(destObject:*):void 克隆。 RotationOverLifetimeProperty D...

来源: laya_api 发布时间: 20170929

6. laya.d3.resource.SolidColorTexture2D [ 90%]

...urePublic Methods  MethodDefined By  SolidColorTexture2D(color:Vector4) 创建一个 SolidColorTexture2D 实例。 SolidColorTexture2DProtected Methods  MethodDefined By  detoryResource():void[override] 销毁资源。 SolidColorTexture2D  recreateResource():void[override] 重新创建资源...

来源: laya_api 发布时间: 20170929

7. laya.d3.math.Ray [ 89%]

...Packagelaya.d3.mathClasspublic class RayInheritanceRay Object Ray 类用于创建射线。 Public Properties PropertyDefined By  direction : Vector3方向Ray  origin : Vector3原点RayPublic Methods  MethodDefined By  Ray(origin:Vector3, direction:Vector3) 创建一个 Ray 实例。 RayPrope...

来源: laya_api 发布时间: 20170929

8. laya.d3.math.RandX [ 89%]

...c class RandXInheritanceRandX Object Rand 类用于通过128位整型种子创建随机数,算法来自:https://github.com/AndreasMadsen/xorshift。 Public Properties PropertyDefined By  defaultRand : RandX[static] 基于时间种子的随机数。RandXPublic Methods  MethodDefined By  RandX(s...

来源: laya_api 发布时间: 20170929

9. laya.d3.resource.models.QuadMesh [ 89%]

...nheritanceQuadMesh laya.d3.resource.models.PrimitiveMesh QuadMesh 类用于创建四边形。 Public Properties PropertyDefined By  long : Number 返回长度 QuadMesh  width : Number 返回宽度 QuadMeshPublic Methods  MethodDefined By  QuadMesh(long:Number = 1, width:Number = 1) 创建一...

来源: laya_api 发布时间: 20170929

10. laya.d3.core.particleShuriKen.module.GradientDataInt [ 88%]

...dientDataInt ObjectImplements laya.d3.core.IClone GradientDataInt 类用于创建整形渐变。 Public Properties PropertyDefined By  gradientCount : int[read-only] 整形渐变数量。GradientDataIntPublic Methods  MethodDefined By  GradientDataInt() 创建一个 GradientDataInt 实例。 G...

来源: laya_api 发布时间: 20170929