Here are the examples of the csharp api XCharts.ChartHelper.DrawPolygon(UnityEngine.UI.VertexHelper, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Color32, UnityEngine.Color32) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
View Source File : ChartHelper.cs
License : MIT License
Project Creator : BlueMonk1107
License : MIT License
Project Creator : BlueMonk1107
public static void DrawPolygon(VertexHelper vh, Vector3 p, float size, Color32 color)
{
Vector3 p1 = new Vector3(p.x - size, p.y - size);
Vector3 p2 = new Vector3(p.x + size, p.y - size);
Vector3 p3 = new Vector3(p.x + size, p.y + size);
Vector3 p4 = new Vector3(p.x - size, p.y + size);
DrawPolygon(vh, p1, p2, p3, p4, color, color);
}
19
View Source File : ChartHelper.cs
License : MIT License
Project Creator : BlueMonk1107
License : MIT License
Project Creator : BlueMonk1107
public static void DrawPolygon(VertexHelper vh, Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4,
Color32 color)
{
DrawPolygon(vh, p1, p2, p3, p4, color, color);
}