コード例 #1
0
        protected override void Draw()
        {
            base.Draw();

            if (Editor != null)
            {
                Editor.BeginAntialising();

                if (MySpline != null)
                {
                    MySpline.DrawPolygonStripe();
                }

                Editor.spriteBatch.Begin(effect: Functions.GetBasicEffect);

                if (MySpline != null)
                {
                    MySpline.DrawSpline(Editor.spriteBatch);
                }

                Editor.spriteBatch.End();

                Editor.EndAntialising();
                Editor.DrawDisplay();
            }
        }