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

大约有 82 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0025 秒)

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.core.HeightMap [ 99%]

...。 HeightMap  minHeight : int[read-only] 最大高度。 HeightMap  width : int[read-only] 获取宽度。 HeightMapPublic Methods  MethodDefined By  HeightMap(width:int, height:int, minHeight:Number, maxHeight:Number) 创建一个 HeightMap 实例。 HeightMap  createFromImage(texture:Tex...

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

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

4. laya.d3.utils.Size [ 97%]

...lScreen : Size[static] [read-only] Size  height : int[read-only] Size  width : int[read-only] SizePublic Methods  MethodDefined By  Size(width:int, height:int)SizeProperty DetailfullScreenpropertyfullScreen:Size  [read-only] Implementation     public static function get fullScreen():Siz...

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

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

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

7. laya.d3.terrain.TerrainHeightData [ 93%]

...ta : Float32ArrayTerrainHeightData  _value : NumberTerrainHeightData  _width : intTerrainHeightDataPublic Methods  MethodDefined By  TerrainHeightData(width:int, height:int, bitType:int, value:Number) 创建一个 TerrainHeightData 实例。 TerrainHeightData  _pharse(data:*, propertyParams...

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

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

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

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