大约有 6 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0018 秒)
...图作为点击区域和非点击区域(目前只支持圆形,矩形,多边形) Public Properties PropertyDefined By hit : Graphics 可点击区域,可以设置绘制一系列矢量图作为点击区域(目前只支持圆形,矩形,多边形) HitArea unHit : Graphics 不可...
来源: Laya2.0_api 发布时间: 20190513
...isplay.cmdClasspublic class DrawPolyCmdInheritanceDrawPolyCmd Object 绘制多边形 Public Properties PropertyDefined By fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawPolyCmd lineColor : * (可选)边框颜色,或者填充绘图的渐变对象。 DrawPolyCmd ...
来源: Laya2.0_api 发布时间: 20190513
... PolygonColliderInheritancePolygonCollider ColliderBase Component Object 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不建议超过8个,也不...
来源: Laya2.0_api 发布时间: 20190513
...ic Properties PropertyDefined By convex : Boolean 获取是否使用凸多边形。 MeshColliderShape localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape mesh : Mesh 获取网格。 MeshColliderShape needs...
来源: Laya2.0_api 发布时间: 20190513
..., 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
..., 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