ModelMesh.Draw Method

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

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

Syntax

public void Draw ()

Exceptions

Exception type Condition
InvalidOperationException Effect is a null.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP