Draw() public method

Draw the Model.
public Draw ( ModelDrawContext drawContext ) : void
drawContext ModelDrawContext
return void
Exemplo n.º 1
0
        /// <summary>
        /// Render the model.
        /// </summary>
        protected override void Render()
        {
            base.Render();

            var context = new ModelDrawContext()
            {
                Projection  = Projection,
                View        = View,
                World       = World,
                DisplayMode = Program.DisplayMode,
            };

            Model.Draw(context);
        }