Spine.SkeletonBounds.GetPolygon C# (CSharp) Method

GetPolygon() public method

public GetPolygon ( BoundingBoxAttachment attachment ) : Polygon
attachment BoundingBoxAttachment
return Polygon
		public Polygon GetPolygon (BoundingBoxAttachment attachment) {
			int index = BoundingBoxes.IndexOf(attachment);
			return index == -1 ? null : Polygons.Items[index];
		}
	}