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

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

1. laya.utils.Utils [ 100%]

...un:Function, scope:*):Function[static] 给传入的函数绑定作用域,返回绑定后的函数。 Utils  fitDOMElementInArea(dom:Object, coordinateSpace:Sprite, x:Number, y:Number, width:Number, height:Number):void[static] 使DOM元素使用舞台内的某块区域内。 Utils  getGID():int...

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

2. laya.net.Loader [ 98%]

... cache : Boolean[read-only] 是否缓存。Loader  data : *[read-only] 返回的数据。Loader  maxTimeOut : int = 100[static] 每帧加载完成回调使用的最大超时时间,如果超时,则下帧再处理,防止帧卡顿。Loader  parserMap : Object[static] 资源解析函数对...

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

3. laya.maths.Rectangle [ 97%]

...会修改本对象。 Rectangle  clone(out:Rectangle = null):Rectangle 返回一个 Rectangle 对象,其 x、y、width 和 height 属性的值与当前 Rectangle 对象的对应值相同。 Rectangle  contains(x:Number, y:Number):Boolean 确定由此 Rectangle 对象定义的矩形区域内是...

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

4. laya.device.geolocation.Geolocation [ 94%]

...值为false。 Geolocation  maximumAge : Number = 0[static] 表示可被返回的缓存位置信息的最大时限。 如果设置为0,意味着设备不使用缓存位置,并且尝试获取实时位置。 如果设置为Infinity,设备必须返回缓存位置而无论其时限。 Geolocatio...

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

5. laya.maths.Matrix [ 94%]

...) 使用指定参数创建新的 Matrix 对象。 Matrix  clone():Matrix 返回此 Matrix 对象的副本。 Matrix  concat(matrix:Matrix):Matrix 将指定矩阵与当前矩阵连接,从而将这两个矩阵的几何效果有效地结合在一起。 Matrix  copyTo(dec:Matrix):Matrix 将当...

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

6. laya.utils.Pool [ 94%]

...的此类型的一个对象,如果对象池中无此类型的对象,则返回 null 。 Pool  getItemByClass(sign:String, cls:Class):*[static] 根据传入的对象类型标识字符,获取对象池中此类型标识的一个对象实例。 当对象池中无此类型标识的对象时,则...

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

7. laya.d3.math.BoundFrustum [ 93%]

...rustum  containsBoundBox(box:BoundBox):int 与包围盒的位置关系。返回-1,包涵;0,相交;1,不相交 BoundFrustum  containsBoundSphere(sphere:BoundSphere):int 与包围球的位置关系。返回-1,包涵;0,相交;1,不相交 BoundFrustum  containsPoint(point:Vector3):int 与点的位...

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

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

...  RandX(seed:Array) 创建一个 Rand 实例。 RandX  random():Number 返回[0,1)之间的随机数。 RandX  randomint():Array 通过2x32位的数组,返回64位的随机数。 RandXProperty DetaildefaultRandpropertypublic static var defaultRand:RandX基于时间种子的随机数。Constr...

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

9. laya.device.media.Video [ 92%]

...前只支持"lighter"。Sprite  buffered : *[read-only] buffered 属性返回 TimeRanges(JS)对象。TimeRanges 对象表示用户的音视频缓冲范围。缓冲范围指的是已缓冲音视频的时间范围。如果用户在音视频中跳跃播放,会得到多个缓冲范围。 buffered.le...

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

10. laya.utils.ClassUtils [ 90%]

...:"" } } ] } ClassUtils  getClass(className:String):*[static] 根据名字返回类对象。 ClassUtils  getInstance(className:String):*[static] 根据名称创建 Class 实例。 ClassUtils  getRegClass(className:String):*[static] 返回注册的 Class 映射。 ClassUtils  regClass(classNam...

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