Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Draws all the ModelMeshPart objects in this mesh, using their current Effect settings, and specifying options for saving effect state.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void Draw (
SaveStateMode saveStateMode
)
Parameters
- saveStateMode
The save state options to pass to each Effect.
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException | Effect is a null. |
See Also
Tasks
Reference
ModelMesh Class
ModelMesh Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista