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

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

1. laya.resource.Texture [ 100%]

...rties PropertyDefined By  bitmap : Texture2D 获取位图。 Texture  destroyed : Boolean[read-only] 获取是否已经销毁。 Texture  height : Number 实际高度。Texture  offsetX : Number = 0沿 X 轴偏移量。Texture  offsetY : Number = 0沿 Y 轴偏移量。Texture  sourceHei...

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

2. laya.resource.HTMLCanvas [ 93%]

...*[override] HTMLCanvas  clear():void 清空画布内容。 HTMLCanvas  destroy():void[override] 销毁。 HTMLCanvas  getContext(contextID:String, other:* = null):Context 获取 Canvas 渲染上下文。 HTMLCanvas  getMemSize():int 获取内存大小。 HTMLCanvas  getTexture():Texture ...

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

3. laya.display.BitmapFont [ 90%]

...(以像素为单位)。BitmapFontPublic Methods  MethodDefined By  destroy():void 销毁位图字体,调用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont  getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont  getCharWidth(char:String):...

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

4. laya.ani.bone.Templet [ 81%]

...,不建议使用) Templet  deleteAniData(aniIndex:int):voidTemplet  destroy():void[override] 释放纹理 Templet  getAniNameByIndex(index:int):String 通过索引得动画名称 Templet  getSkinIndexByName(skinName:String):int 通过皮肤名字得到皮肤索引 Templet  getTexture(nam...

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

5. laya.ui.AutoBitmap [ 80%]

...d 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void[override] 销毁此对象。 AutoBitmap drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawCircleCmd 绘制圆形。 Graphics drawCurves(x:Number, y:Numbe...

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

6. laya.d3.core.MeshTerrainSprite3D [ 79%]

... depth : Number[read-only] 获取地形Z轴长度。 MeshTerrainSprite3D destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Spr...

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

7. laya.ui.Image [ 77%]

...,使用大括号可以指定组件的任意属性进行赋值。 Image destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[re...

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

8. laya.d3.core.scene.Scene3D [ 75%]

...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显...

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

9. laya.display.Scene [ 72%]

...除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...

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

10. laya.display.Graphics [ 71%]

...d 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawCircleCmd 绘制圆形。 Graphics  drawCurves(x:Number, y:Number, point...

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