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

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

1. laya.maths.Rectangle [ 100%]

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

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

2. laya.d3.resource.models.PrimitiveMesh [ 97%]

...c Methods  MethodDefined By  createBox(long:Number = 1, height:int = 1, width:Number = 1):Mesh[static] 创建Box网格。 PrimitiveMesh  createCapsule(radius:Number = 0.5, height:Number = 2, stacks:int = 16, slices:int = 32):Mesh[static] 创建一个胶囊体模型 PrimitiveMesh  createCone(r...

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

3. laya.resource.Texture [ 97%]

...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.d3.resource.RenderTexture [ 97%]

...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

5. laya.ui.AutoBitmap [ 93%]

...。 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

6. laya.display.Graphics [ 92%]

... 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

7. laya.map.TiledMap [ 90%]

... TiledMap  gridHeight : Number[read-only] 块的高度 TiledMap  gridWidth : Number[read-only] 块的宽度 TiledMap  height : int[read-only] 地图的高度 TiledMap  numColumnsGrid : Number[read-only] 地图的横向块数 TiledMap  numColumnsTile : int[read-only] 地图横向的格子...

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

8. laya.resource.RenderTexture2D [ 90%]

...sourceHeight : Number[read-only] 获取高度。 RenderTexture2D  sourceWidth : Number[read-only] 获取宽度。 RenderTexture2D wrapModeU : int 获取纹理横向循环模式。 BaseTexture wrapModeV : int 获取纹理纵向循环模式。 BaseTexturePublic Methods Hide Inherited Public Method...

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

9. laya.physics.BoxCollider [ 88%]

...为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

10. laya.resource.Texture2D [ 83%]

...ublic Methods Show Inherited Public Methods MethodDefined By  Texture2D(width:int = 0, height:int = 0, format:int, mipmap:Boolean = true, canRead:Boolean = false) 创建一个 Texture2D 实例。 Texture2D _getSource():*[override] 获取纹理资源。 BaseTexture  _parse(data:*, propertyParam...

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