protected override void DrawContents()
        {
            // sprite
            sprite.EffectManager.SetCamera(this.Camera);
            sprite.ResetForDraw();
            sprite.Draw(m_MaterialIndex, 2);

            // uv triangles
            DrawablePmx.ResetForDraw();
            DrawablePmx.EffectManager.SetCamera(this.Camera);
            DrawablePmx.Draw(m_MaterialIndex, 3);

            // points
            this.GraphicsDevice.ImmediateContext.InputAssembler.PrimitiveTopology
                = PrimitiveTopology.PointList;
            DrawablePmx.Draw(m_MaterialIndex, 4);
        }
Пример #2
0
 protected virtual void DrawContents()
 {
     DrawablePmx.ResetForDraw();
     DrawablePmx.Draw();
 }