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

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

1. laya.display.BitmapFont [ 100%]

...时,默认会销毁。 BitmapFont  getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont  getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont  getMaxHeight():Number 获取最大字符高度。 BitmapFont  getMaxWidth():Number 获...

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

2. laya.d3.core.trail.TrailFilter [ 92%]

...alignment : int = 0轨迹准线。TrailFilter  colorGradient : Gradient 获取颜色梯度。 TrailFilter  _curtime : Number = 0TrailFilter  _lastPosition : Vector3TrailFilter  minVertexDistance : Number 获取新旧顶点之间最小距离。 TrailFilter  _owner : TrailSprite3DTrailFilter...

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

3. laya.d3.core.HeightMap [ 91%]

...数据。 Public Properties PropertyDefined By  height : int[read-only] 获取高度。 HeightMap  maxHeight : int[read-only] 最大高度。 HeightMap  minHeight : int[read-only] 最大高度。 HeightMap  width : int[read-only] 获取宽度。 HeightMapPublic Methods  MethodDefined By ...

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

4. laya.utils.Browser [ 89%]

...[static] 全局离线画布(非主画布)。主要用来测量字体、获取image数据。Browser  clientHeight : Number[static] [read-only] 浏览器窗口可视高度。 通过分析浏览器信息获得。浏览器多个属性值优先级为:window.innerHeight(包含滚动条高度) >...

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

5. laya.display.Stage [ 87%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" ...

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

6. laya.resource.Texture [ 85%]

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

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

7. laya.display.Graphics [ 82%]

...texture填充。 Graphics  getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics  loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void...

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

8. laya.resource.RenderTexture2D [ 80%]

...等级 BaseTexture  currentActive : RenderTexture2D[static] [read-only] 获取当前激活的Rendertexture RenderTexture2D  defaulteTexture : BaseTexture[override] [read-only] 获取默认纹理资源。 RenderTexture2D  defuv : Array[static] RenderTexture2D  depthStencilFormat : int[read-on...

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

9. laya.physics.BoxCollider [ 78%]

...叠稳定性,默认值为10ColliderBase destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component fixture : *[只读]b2Fixture对象 ColliderBase friction : Number摩擦力,取值范围0-1,值越大,摩擦越大,默认...

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

10. laya.utils.Utils [ 78%]

...OM元素使用舞台内的某块区域内。 Utils  getGID():int[static] 获取一个全局唯一ID。Utils  getGlobalPosAndScale(sprite:Sprite):Rectangle[static] 计算传入的显示对象 Sprite 的全局坐标系的坐标和缩放值,返回 Rectangle 对象存放计算出的坐标X值、Y...

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