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

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

1. laya.particle.ParticleSetting [ 100%]

...(单位:无)ParticleSetting  gravity : Float32Array(单位:2D像素、3D坐标)ParticleSetting  maxEndColor : Float32Array最大结束颜色ParticleSetting  maxEndRadius : Number = 0最大结束半径(单位:2D像素、3D坐标)ParticleSetting  maxEndSize : Number = 100最...

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

2. laya.ui.Widget [ 99%]

...erties PropertyDefined By  bottom : Number表示距底边的距离(以像素为单位)。Widget  centerX : Number表示距水平方向中心轴的距离(以像素为单位)。Widget  centerY : Number表示距垂直方向中心轴的距离(以像素为单位)。Widget destroyed : ...

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

3. laya.maths.Matrix [ 96%]

... Properties PropertyDefined By  a : Number缩放或旋转图像时影响像素沿 x 轴定位的值。Matrix  b : Number旋转或倾斜图像时影响像素沿 y 轴定位的值。Matrix  c : Number旋转或倾斜图像时影响像素沿 x 轴定位的值。Matrix  d : Number缩放或旋转...

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

4. laya.resource.Texture2D [ 96%]

...础数据生成mipMap。 BaseTexture  getPixels():Uint8Array 返回图片像素。 Texture2D  load(url:String, complete:Handler):void[static] 加载Texture2D。 Texture2D  loadImageSource(source:*, premultiplyAlpha:Boolean = false):void 通过图片源填充纹理,可为HTMLImageElement、HTML...

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

5. laya.ui.Label [ 90%]

...: Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议...

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

6. laya.ui.UIComponent [ 89%]

...: Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议...

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

7. laya.display.css.TextStyle [ 89%]

...本是否为斜体。 TextStyle  leading : Number 垂直行间距(以像素为单位) TextStyle  padding : Array 默认边距信息 [左边距,上边距,右边距,下边距](边距以像素为单位) TextStyle  stroke : Number 描边宽度(以像素为单位)。 默认值0,...

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

8. Config [ 87%]

...。 Config  is2DPixelArtGame : Boolean = false[static] 是否强制使用像素采样。适用于像素风格游戏 Config  isAlpha : Boolean = false[static] 设置画布是否透明,只对2D(WebGL)、3D有效。 Config  isAntialias : Boolean = false[static] 设置是否抗锯齿,只对2D(...

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

9. laya.physics.Physics [ 87%]

...理单例Physics  PIXEL_RATIO : int = 50[static] 2D游戏默认单位为像素,物理默认单位为米,此值设置了像素和米的转换比率,默认50像素=1米Physics  positionIterations : int = 3位置迭代次数,增大数字会提高精度,但是会降低性能Physics  velo...

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

10. laya.ui.Tree [ 85%]

...: Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议...

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