Model.Draw Method

Render a model after applying the matrix transformations.

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

Syntax

public void Draw (
         Matrix world,
         Matrix view,
         Matrix projection
)

Parameters

  • world
    Type: Matrix
    A world transformation matrix.
  • view
    Type: Matrix
    A view transformation matrix.
  • projection
    Type: Matrix
    A projection transformation matrix.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP