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

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

1. laya.utils.HitArea [ 100%]

...图作为点击区域和非点击区域(目前只支持圆形,矩形,多边形) Public Properties PropertyDefined By  hit : Graphics 可点击区域,可以设置绘制一系列矢量图作为点击区域(目前只支持圆形,矩形,多边形) HitArea  unHit : Graphics 不可...

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

2. laya.physics.PolygonCollider [ 92%]

... PolygonColliderInheritancePolygonCollider ColliderBase Component Object 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不建议超过8个,也不...

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

3. laya.display.cmd.DrawPolyCmd [ 92%]

...isplay.cmdClasspublic class DrawPolyCmdInheritanceDrawPolyCmd Object 绘制多边形 Public Properties PropertyDefined By  fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawPolyCmd  lineColor : * (可选)边框颜色,或者填充绘图的渐变对象。 DrawPolyCmd  ...

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

4. laya.d3.physics.shape.MeshColliderShape [ 80%]

...ic Properties PropertyDefined By  convex : Boolean 获取是否使用凸多边形。 MeshColliderShape localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape  mesh : Mesh 获取网格。 MeshColliderShape needs...

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

5. laya.display.Graphics [ 54%]

..., fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawPolyCmd 绘制多边形。 Graphics  drawRect(x:Number, y:Number, width:Number, height:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawRectCmd 绘制矩形。 Graphics  drawTexture(texture:Texture, x:Number = 0, y:Nu...

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

6. laya.ui.AutoBitmap [ 41%]

..., fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawPolyCmd 绘制多边形。 Graphics drawRect(x:Number, y:Number, width:Number, height:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawRectCmd 绘制矩形。 Graphics drawTexture(texture:Texture, x:Number = 0, y:Number...

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