예제 #1
0
    public void BezierCurveTo(Vector2 ctrl0, Vector2 ctrl1, Vector2 to)
    {
        var pfCtrl0 = PFUnityConv.PFVector2F(ctrl0);
        var pfCtrl1 = PFUnityConv.PFVector2F(ctrl1);
        var pfTo    = PFUnityConv.PFVector2F(to);

        PF.PFPathBezierCurveTo(handle, ref pfCtrl0, ref pfCtrl1, ref pfTo);
    }