public Draw ( |
||
drawContext | ||
return | void |
public void Draw(ModelDrawContext drawContext)
{
foreach (var mesh in meshes)
mesh.Draw(drawContext);
}
/// <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); }