示例#1
0
    private MeshBase AddPointedCircle()
    {
        Vector3           pos = new Vector3(6.7f, -1.25f, 0);
        PointedCircleMesh pointedCircleMesh =
            PointedCircleMesh.AddPointedCircle(pos, 0.8f, 6, new Vector2(2, 2.5f), null, false);

        pointedCircleMesh.SetColor(Color.gray);
        return(pointedCircleMesh);
    }
    private PointedCircleMesh AddPointedCircle()
    {
        Vector3           pos               = new Vector3(6.7f, -1.25f, -0.1f);
        Vector2           shift             = new Vector2(2, 2.5f);
        PointedCircleMesh pointedCircleMesh =
            PointedCircleMesh.AddPointedCircle(pos, 0.8f, 6, shift, null, false);

        pointedCircleMesh.SetColor(Color.gray);
        return(pointedCircleMesh);
    }