Model.Draw Method

Render a model after applying the matrix transformations.

Syntax

'Declaration
Public Sub Draw ( _
         world As Matrix, _
         view As Matrix, _
         projection As Matrix _
)
public void Draw (
         Matrix world,
         Matrix view,
         Matrix projection
)
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.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

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

Platforms

Windows Phone