Share via


ModelMesh.Draw Method ()

Draws all the ModelMeshPart objects in this mesh, using their current Effect settings.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public void Draw ()

Exceptions

Exception type Condition
InvalidOperationException Effect is a null.

See Also

Tasks

How to: Render a Model

Reference

ModelMesh Class
ModelMesh Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista