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

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

1. laya.maths.Rectangle [ 100%]

... 确定)以及宽度和高度定义的区域。 Rectangle 类的 xywidth 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Public Properties PropertyDefined By  bottom : Number[read-only] 此矩形底端的 Y 轴坐标。y 和 height 属性的和。Rectan...

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

2. laya.display.Graphics [ 97%]

... true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineCo...

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

3. laya.resource.Texture [ 96%]

...ber = 0原始高度(包括被裁剪的透明区域)。Texture  sourceWidth : Number = 0原始宽度(包括被裁剪的透明区域)。Texture  url : String = null图片地址Texture  uv : ArrayTexture  width : Number 实际宽度。TexturePublic Methods Hide Inherited Public Methods ...

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

4. laya.ui.AutoBitmap [ 94%]

...。 AutoBitmap  source : Texture 对象的纹理资源。 AutoBitmap  width : Number 表示显示对象的宽度,以像素为单位。 AutoBitmapPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By alpha(alpha:Number):AlphaCmd 设置透明度。 Graphic...

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

5. laya.d3.resource.RenderTexture [ 90%]

...c Methods Show Inherited Public Methods MethodDefined By  RenderTexture(width:Number, height:Number, format:int, depthStencilFormat:int) RenderTexture _getSource():*[override] 获取纹理资源。 BaseTexture generateMipmap():void 通过基础数据生成mipMap。 BaseTexture  getData(x:Numb...

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

6. laya.physics.BoxCollider [ 89%]

...为0ColliderBase rigidBody : RigidBody[只读]刚体引用ColliderBase  width : Number矩形宽度BoxCollider  x : Number相对节点的x轴偏移BoxCollider  y : Number相对节点的y轴偏移BoxColliderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefine...

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

7. laya.utils.Utils [ 89%]

...itDOMElementInArea(dom:Object, coordinateSpace:Sprite, x:Number, y:Number, width:Number, height:Number):void[static] 使DOM元素使用舞台内的某块区域内。 Utils  getGID():int[static] 获取一个全局唯一ID。Utils  getGlobalPosAndScale(sprite:Sprite):Rectangle[static] 计算传入...

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

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

...h : Number最大深度Viewport  minDepth : Number最小深度Viewport  width : Number宽度Viewport  x : NumberX轴坐标Viewport  y : NumberY轴坐标ViewportPublic Methods  MethodDefined By  Viewport(x:Number, y:Number, width:Number, height:Number) 创建一个 Viewport 实例。 Viewpo...

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

9. laya.display.cmd.ClipRectCmd [ 85%]

...Properties PropertyDefined By  height : Number 高度。 ClipRectCmd  width : Number 宽度。 ClipRectCmd  x : Number X 轴偏移量。 ClipRectCmd  y : Number Y 轴偏移量。 ClipRectCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 ClipRectCmdPublic Constants C...

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

10. laya.display.cmd.DrawImageCmd [ 85%]

...)高度。 DrawImageCmd  texture : Texture 纹理。 DrawImageCmd  width : Number (可选)宽度。 DrawImageCmd  x : Number (可选)X轴偏移量。 DrawImageCmd  y : Number (可选)Y轴偏移量。 DrawImageCmdPublic Methods  MethodDefined By  recover():void 回收到对...

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