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

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

1. laya.d3.utils.Physics [ 100%]

...:int (default = 0) — 选定制定层内的碰撞器,其他层内碰撞器忽略 rayCastAll()method  public static function rayCastAll(ray:Ray, outHitAllInfo:Vector.<RaycastHit>, distance:Number, layer:int = 0):void 在场景中投下可与所有碰撞器碰撞的一条光线,获取发生碰...

来源: laya_api 发布时间: 20170929

2. laya.net.LoaderManager [ 93%]

...只能对文件后缀为atlas的资源进行缓存控制,其他资源会忽略缓存,强制重新加载。 LoaderManager event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getRes(url:String):* 获取指定资源地址的资源。 LoaderManager hasListener(type:String)...

来源: laya_api 发布时间: 20170929

3. laya.d3.math.Matrix3x3 [ 75%]

...void[static] 从4x4矩阵转换为一个3x3的矩阵(原则为upper-left,忽略第四行四列) Matrix3x3  createFromRotation(rad:Number, out:Matrix3x3):void[static] 根据指定旋转生成3x3矩阵 Matrix3x3  createFromScaling(scale:Vector2, out:Matrix3x3):void[static] 根据制定缩放...

来源: laya_api 发布时间: 20170929

4. laya.maths.Rectangle [ 73%]

...在一起以创建一个新的 Rectangle 对象。 注意:union() 方法忽略高度或宽度值为 0 的矩形,如:var rect2:Rectangle = new Rectangle(300,300,50,0); RectanglePublic Constants ConstantDefined By  TEMP : Rectangle[static] 全局临时的矩形区域,此对象用于全局...

来源: laya_api 发布时间: 20170929

5. laya.net.Loader [ 72%]

...些资源是采用引用计数方式销毁,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false clearResByGroup()method  public static function clearResByGroup(group:String):void 根据分组清理资源。 Parameters group:String — 分组名。 comple...

来源: laya_api 发布时间: 20170929

6. laya.maths.Matrix [ 69%]

...ut:Point):Point 将 Matrix 对象表示的几何转换应用于指定点,忽略tx、ty。 Matrix  translate(x:Number, y:Number):Matrix 沿 x 和 y 轴平移矩阵,平移的变化量由 x 和 y 参数指定。 MatrixProperty Detailapropertypublic var a:Number缩放或旋转图像时影响像素...

来源: laya_api 发布时间: 20170929

7. laya.utils.Byte [ 50%]

...:int):void 在字节流中写入一个字节。 使用参数的低 8 位。忽略高 24 位。 Byte  writeFloat32(value:Number):void 在字节流的当前字节偏移量位置处写入一个 IEEE 754 单精度(32 位)浮点数。 Byte  writeFloat64(value:Number):void 在字节流的当前字...

来源: laya_api 发布时间: 20170929

8. laya.map.TileAniSprite [ 30%]

...rea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mous...

来源: laya_api 发布时间: 20170929

9. laya.particle.Particle2D [ 29%]

...rea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mous...

来源: laya_api 发布时间: 20170929

10. laya.display.Sprite [ 29%]

...rea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite  mo...

来源: laya_api 发布时间: 20170929